Home
last modified time | relevance | path

Searched refs:default_source (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcap_initiator.c1138 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_start()
1144 err = bt_cap_initiator_broadcast_audio_start(default_source.cap_source, in cmd_broadcast_start()
1161 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_update()
1176 err = bt_cap_initiator_broadcast_audio_update(default_source.cap_source, meta, len); in cmd_broadcast_update()
1193 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_stop()
1199 err = bt_cap_initiator_broadcast_audio_stop(default_source.cap_source); in cmd_broadcast_stop()
1213 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_delete()
1219 err = bt_cap_initiator_broadcast_audio_delete(default_source.cap_source); in cmd_broadcast_delete()
1226 default_source.cap_source = NULL; in cmd_broadcast_delete()
1227 default_source.is_cap = false; in cmd_broadcast_delete()
[all …]
Dbap.c78 struct broadcast_source default_source; variable
3281 if (default_source.bap_source != NULL) { in cmd_create_broadcast()
3337 copy_broadcast_source_preset(&default_source, named_preset); in cmd_create_broadcast()
3346 subgroup_param.codec_cfg = &default_source.codec_cfg; in cmd_create_broadcast()
3349 create_param.qos = &default_source.qos; in cmd_create_broadcast()
3351 err = bt_bap_broadcast_source_create(&create_param, &default_source.bap_source); in cmd_create_broadcast()
3378 if (default_source.bap_source == NULL || default_source.is_cap) { in cmd_start_broadcast()
3383 err = bt_bap_broadcast_source_start(default_source.bap_source, adv_sets[selected_adv]); in cmd_start_broadcast()
3396 if (default_source.bap_source == NULL || default_source.is_cap) { in cmd_stop_broadcast()
3401 err = bt_bap_broadcast_source_stop(default_source.bap_source); in cmd_stop_broadcast()
[all …]
Daudio.h806 extern struct broadcast_source default_source;