Home
last modified time | relevance | path

Searched refs:stream_param (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_unicast_start.c274 struct bt_cap_unicast_audio_start_stream_param stream_param = {0}; in ZTEST_F() local
278 .stream_params = &stream_param, in ZTEST_F()
282 stream_param.stream = NULL; in ZTEST_F()
283 stream_param.codec_cfg = &fixture->preset.codec_cfg; in ZTEST_F()
284 stream_param.member.member = &fixture->conns[0]; in ZTEST_F()
285 stream_param.ep = &fixture->eps[0]; in ZTEST_F()
297 struct bt_cap_unicast_audio_start_stream_param stream_param = {0}; in ZTEST_F() local
301 .stream_params = &stream_param, in ZTEST_F()
305 stream_param.stream = &fixture->cap_streams[0]; in ZTEST_F()
306 stream_param.codec_cfg = NULL; in ZTEST_F()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_source.c547 const struct bt_bap_broadcast_source_stream_param *stream_param; in valid_broadcast_source_param() local
549 stream_param = &subgroup_param->params[j]; in valid_broadcast_source_param()
551 CHECKIF(stream_param->stream == NULL) { in valid_broadcast_source_param()
557 CHECKIF(stream_param->stream->group != NULL && in valid_broadcast_source_param()
558 stream_param->stream->group != source) { in valid_broadcast_source_param()
561 i, j, stream_param->stream->group); in valid_broadcast_source_param()
566 CHECKIF(stream_param->data == NULL && stream_param->data_len != 0) { in valid_broadcast_source_param()
569 i, j, stream_param->data_len); in valid_broadcast_source_param()
573 CHECKIF(stream_param->data_len > CONFIG_BT_AUDIO_CODEC_CFG_MAX_DATA_SIZE) { in valid_broadcast_source_param()
576 i, j, stream_param->data_len, in valid_broadcast_source_param()
[all …]
Dcap_initiator.c784 const struct bt_cap_unicast_audio_start_stream_param *stream_param = in valid_unicast_audio_start_param() local
786 const union bt_cap_set_member *member = &stream_param->member; in valid_unicast_audio_start_param()
787 const struct bt_cap_stream *cap_stream = stream_param->stream; in valid_unicast_audio_start_param()
788 const struct bt_audio_codec_cfg *codec_cfg = stream_param->codec_cfg; in valid_unicast_audio_start_param()
803 CHECKIF(stream_param->codec_cfg == NULL) { in valid_unicast_audio_start_param()
813 CHECKIF(stream_param->ep == NULL) { in valid_unicast_audio_start_param()
952 struct bt_cap_unicast_audio_start_stream_param *stream_param = in cap_initiator_unicast_audio_configure() local
954 union bt_cap_set_member *member = &stream_param->member; in cap_initiator_unicast_audio_configure()
955 struct bt_cap_stream *cap_stream = stream_param->stream; in cap_initiator_unicast_audio_configure()
966 active_proc->proc_param.initiator[i].start.ep = stream_param->ep; in cap_initiator_unicast_audio_configure()
[all …]
Dbap_unicast_client.c2895 struct bt_bap_unicast_group_stream_pair_param *stream_param; in bt_bap_unicast_group_create() local
2897 stream_param = &param->params[i]; in bt_bap_unicast_group_create()
2906 err = unicast_group_add_stream_pair(unicast_group, stream_param); in bt_bap_unicast_group_create()
2973 struct bt_bap_unicast_group_stream_pair_param *stream_param = &param->params[i]; in bt_bap_unicast_group_reconfig() local
2974 struct bt_bap_unicast_group_stream_param *rx_param = stream_param->rx_param; in bt_bap_unicast_group_reconfig()
2975 struct bt_bap_unicast_group_stream_param *tx_param = stream_param->tx_param; in bt_bap_unicast_group_reconfig()
3073 struct bt_bap_unicast_group_stream_pair_param *stream_param; in bt_bap_unicast_group_add_streams() local
3075 stream_param = &params[num_added]; in bt_bap_unicast_group_add_streams()
3077 err = stream_pair_param_check(stream_param); in bt_bap_unicast_group_add_streams()
3082 err = unicast_group_add_stream_pair(unicast_group, stream_param); in bt_bap_unicast_group_add_streams()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_cap.c309 struct bt_cap_unicast_audio_start_stream_param *stream_param; in btp_cap_unicast_audio_start() local
316 stream_param = &stream_params[stream_count++]; in btp_cap_unicast_audio_start()
317 stream_param->stream = stream_unicast_to_cap(u_stream); in btp_cap_unicast_audio_start()
318 stream_param->codec_cfg = &u_stream->codec_cfg; in btp_cap_unicast_audio_start()
319 stream_param->member.member = bt_conn_lookup_addr_le(BT_ID_DEFAULT, in btp_cap_unicast_audio_start()
321 stream_param->ep = btp_bap_unicast_end_point_find(u_conn, u_stream->ase_id); in btp_cap_unicast_audio_start()
362 struct bt_cap_unicast_audio_update_stream_param *stream_param = &stream_params[i]; in btp_cap_unicast_audio_update() local
384 stream_param->stream = &u_stream->audio_stream.cap_stream; in btp_cap_unicast_audio_update()
385 stream_param->meta_len = update_data->metadata_ltvs_len; in btp_cap_unicast_audio_update()
386 stream_param->meta = update_data->metadata_ltvs; in btp_cap_unicast_audio_update()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c157 stream_param[CAP_UNICAST_CLIENT_STREAM_COUNT] = {0}; in cmd_cap_initiator_unicast_start() local
235 start_param.stream_params = stream_param; in cmd_cap_initiator_unicast_start()
261 stream_param[start_param.count].member.member = conn; in cmd_cap_initiator_unicast_start()
262 stream_param[start_param.count].stream = stream; in cmd_cap_initiator_unicast_start()
263 stream_param[start_param.count].ep = snk_ep; in cmd_cap_initiator_unicast_start()
265 stream_param[start_param.count].codec_cfg = &uni_stream->codec_cfg; in cmd_cap_initiator_unicast_start()
268 &stream_param[start_param.count].stream->bap_stream; in cmd_cap_initiator_unicast_start()
293 stream_param[start_param.count].member.member = conn; in cmd_cap_initiator_unicast_start()
294 stream_param[start_param.count].stream = stream; in cmd_cap_initiator_unicast_start()
295 stream_param[start_param.count].ep = src_ep; in cmd_cap_initiator_unicast_start()
[all …]
Dbap.c1454 struct bt_bap_unicast_group_stream_param *stream_param; in set_group_param() local
1456 stream_param = &stream_params[cnt]; in set_group_param()
1458 stream_param->stream = stream; in set_group_param()
1460 stream_param->qos = &uni_stream->qos; in set_group_param()
1461 pair_param[sink_cnt++].tx_param = stream_param; in set_group_param()
1463 stream_param->qos = &uni_stream->qos; in set_group_param()
1464 pair_param[source_cnt++].rx_param = stream_param; in set_group_param()
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c345 struct bt_cap_unicast_audio_start_stream_param stream_param; in unicast_audio_start() local
350 param.stream_params = &stream_param; in unicast_audio_start()
352 stream_param.member.member = conn; in unicast_audio_start()
353 stream_param.stream = &unicast_streams[0]; in unicast_audio_start()
354 stream_param.ep = unicast_sink_eps[0]; in unicast_audio_start()
355 stream_param.codec_cfg = &unicast_preset_48_2_1.codec_cfg; in unicast_audio_start()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_initiator_unicast_test.c607 struct bt_cap_unicast_audio_start_stream_param stream_param[2]; in unicast_audio_start() local
612 param.count = ARRAY_SIZE(stream_param); in unicast_audio_start()
613 param.stream_params = stream_param; in unicast_audio_start()
614 stream_param[0].member.member = default_conn; in unicast_audio_start()
615 stream_param[0].stream = &unicast_client_sink_streams[0]; in unicast_audio_start()
616 stream_param[0].ep = unicast_sink_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start()
617 stream_param[0].codec_cfg = &unicast_preset_16_2_1.codec_cfg; in unicast_audio_start()
619 stream_param[1].member.member = default_conn; in unicast_audio_start()
620 stream_param[1].stream = &unicast_client_source_streams[0]; in unicast_audio_start()
621 stream_param[1].ep = unicast_source_eps[bt_conn_index(default_conn)][0]; in unicast_audio_start()
[all …]
Dgmap_ugg_test.c737 struct bt_cap_unicast_audio_start_stream_param *stream_param = in gmap_ac_cap_unicast_start() local
740 stream_param->member.member = connected_conns[i]; in gmap_ac_cap_unicast_start()
741 stream_param->codec_cfg = snk_codec_cfgs[snk_stream_cnt]; in gmap_ac_cap_unicast_start()
742 stream_param->ep = snk_eps[snk_stream_cnt]; in gmap_ac_cap_unicast_start()
743 stream_param->stream = snk_cap_streams[snk_stream_cnt]; in gmap_ac_cap_unicast_start()
753 stream_param->codec_cfg, (enum bt_audio_location)BIT(i)); in gmap_ac_cap_unicast_start()
763 struct bt_cap_unicast_audio_start_stream_param *stream_param = in gmap_ac_cap_unicast_start() local
766 stream_param->member.member = connected_conns[i]; in gmap_ac_cap_unicast_start()
767 stream_param->codec_cfg = src_codec_cfgs[src_stream_cnt]; in gmap_ac_cap_unicast_start()
768 stream_param->ep = src_eps[src_stream_cnt]; in gmap_ac_cap_unicast_start()
[all …]
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c444 struct bt_cap_unicast_audio_start_stream_param stream_param[2] = {0}; in unicast_audio_start() local
451 stream_param[param.count].member.member = peer.conn; in unicast_audio_start()
452 stream_param[param.count].stream = &peer.sink_stream; in unicast_audio_start()
453 stream_param[param.count].ep = peer.sink_ep; in unicast_audio_start()
454 stream_param[param.count].codec_cfg = &unicast_preset_16_2_1.codec_cfg; in unicast_audio_start()
459 stream_param[param.count].member.member = peer.conn; in unicast_audio_start()
460 stream_param[param.count].stream = &peer.source_stream; in unicast_audio_start()
461 stream_param[param.count].ep = peer.source_ep; in unicast_audio_start()
462 stream_param[param.count].codec_cfg = &unicast_preset_16_2_1.codec_cfg; in unicast_audio_start()
467 param.stream_params = stream_param; in unicast_audio_start()