Lines Matching refs:default_source
1138 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()
1249 if (default_source.cap_source != NULL) { in cap_ac_broadcast()
1260 copy_broadcast_source_preset(&default_source, &default_broadcast_source_preset); in cap_ac_broadcast()
1261 default_source.qos.sdu *= param->chan_cnt; in cap_ac_broadcast()
1280 subgroup_param.codec_cfg = &default_source.codec_cfg; in cap_ac_broadcast()
1283 create_param.qos = &default_source.qos; in cap_ac_broadcast()
1285 err = bt_cap_initiator_broadcast_audio_create(&create_param, &default_source.cap_source); in cap_ac_broadcast()
1299 default_source.is_cap = true; in cap_ac_broadcast()
1443 if (default_source.cap_source != NULL && default_source.is_cap) { in nonconnectable_ad_data_add()
1486 if (default_source.cap_source != NULL && default_source.is_cap) { in cap_initiator_pa_data_add()
1495 err = bt_cap_initiator_broadcast_get_base(default_source.cap_source, &base_buf); in cap_initiator_pa_data_add()