Home
last modified time | relevance | path

Searched refs:unicast_streams (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c22 static struct bt_cap_stream unicast_streams[CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT + variable
315 group_stream_params.stream = &unicast_streams[0].bap_stream; in unicast_group_create()
344 stream_param.stream = &unicast_streams[0]; in unicast_audio_start()
374 struct bt_bap_stream *stream = &unicast_streams[0].bap_stream; in audio_timer_timeout()
420 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cap_initiator_init()
421 bt_cap_stream_ops_register(&unicast_streams[i], in cap_initiator_init()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dbap.c37 struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN * variable
420 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in set_unicast_stream()
421 if (stream == &unicast_streams[i].stream.bap_stream) { in set_unicast_stream()
440 if (index > ARRAY_SIZE(unicast_streams)) { in cmd_select_unicast()
446 stream = &unicast_streams[index].stream.bap_stream; in cmd_select_unicast()
455 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in stream_alloc()
456 struct bt_bap_stream *stream = &unicast_streams[i].stream.bap_stream; in stream_alloc()
1004 bap_stream = &unicast_streams[0].stream.bap_stream; in cmd_config()
1016 if (index > ARRAY_SIZE(unicast_streams)) { in cmd_config()
1281 struct bt_bap_unicast_group_stream_pair_param pair_param[ARRAY_SIZE(unicast_streams)]; in create_unicast_group()
[all …]
Dcap_initiator.c25 #define CAP_UNICAST_CLIENT_STREAM_COUNT ARRAY_SIZE(unicast_streams)
239 &unicast_streams[start_param.count].stream; in cmd_cap_initiator_unicast_start()
270 &unicast_streams[start_param.count].stream; in cmd_cap_initiator_unicast_start()
336 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cmd_cap_initiator_unicast_list()
337 if (unicast_streams[i].stream.bap_stream.conn == NULL) { in cmd_cap_initiator_unicast_list()
341 shell_print(sh, "Stream #%zu: %p", i, &unicast_streams[i].stream); in cmd_cap_initiator_unicast_list()
361 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in cmd_cap_initiator_unicast_update()
362 struct bt_cap_stream *stream = &unicast_streams[i].stream; in cmd_cap_initiator_unicast_update()
407 if (!PART_OF_ARRAY(unicast_streams, stream)) { in cmd_cap_initiator_unicast_update()
717 struct shell_stream *snk_uni_stream = snk_uni_streams[i] = &unicast_streams[i]; in cap_ac_unicast()
[all …]
Daudio.h108 extern struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN * (UNICAST_SERVER_STREAM_COUNT +
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dcap_acceptor_test.c60 static struct bt_cap_stream unicast_streams[CONFIG_BT_ASCS_ASE_SNK_COUNT + variable
338 for (size_t i = 0; i < ARRAY_SIZE(unicast_streams); i++) { in unicast_stream_alloc()
339 struct bt_bap_stream *stream = &unicast_streams[i].bap_stream; in unicast_stream_alloc()
603 for (size_t i = 0U; i < ARRAY_SIZE(unicast_streams); i++) { in init()
604 bt_cap_stream_ops_register(&unicast_streams[i], &unicast_stream_ops); in init()
Dcap_initiator_unicast_test.c64 static struct unicast_stream unicast_streams[CAP_AC_MAX_STREAM]; variable
1218 snk_uni_streams[i] = &unicast_streams[i]; in cap_initiator_ac_unicast()
1234 src_uni_streams[i] = &unicast_streams[i + snk_cnt]; in cap_initiator_ac_unicast()