Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Dcap_initiator.c1137 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_start()
1143 err = bt_cap_initiator_broadcast_audio_start(default_source.cap_source, in cmd_broadcast_start()
1160 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_update()
1175 err = bt_cap_initiator_broadcast_audio_update(default_source.cap_source, meta, len); in cmd_broadcast_update()
1192 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_stop()
1198 err = bt_cap_initiator_broadcast_audio_stop(default_source.cap_source); in cmd_broadcast_stop()
1212 if (default_source.cap_source == NULL || !default_source.is_cap) { in cmd_broadcast_delete()
1218 err = bt_cap_initiator_broadcast_audio_delete(default_source.cap_source); in cmd_broadcast_delete()
1225 default_source.cap_source = NULL; in cmd_broadcast_delete()
1226 default_source.is_cap = false; in cmd_broadcast_delete()
[all …]
Dbap.c78 struct broadcast_source default_source; variable
3206 if (default_source.bap_source != NULL) { in cmd_create_broadcast()
3262 copy_broadcast_source_preset(&default_source, named_preset); in cmd_create_broadcast()
3271 subgroup_param.codec_cfg = &default_source.codec_cfg; in cmd_create_broadcast()
3274 create_param.qos = &default_source.qos; in cmd_create_broadcast()
3276 err = bt_bap_broadcast_source_create(&create_param, &default_source.bap_source); in cmd_create_broadcast()
3303 if (default_source.bap_source == NULL || default_source.is_cap) { in cmd_start_broadcast()
3308 err = bt_bap_broadcast_source_start(default_source.bap_source, adv_sets[selected_adv]); in cmd_start_broadcast()
3321 if (default_source.bap_source == NULL || default_source.is_cap) { in cmd_stop_broadcast()
3326 err = bt_bap_broadcast_source_stop(default_source.bap_source); in cmd_stop_broadcast()
[all …]
Daudio.h1023 extern struct broadcast_source default_source;