Lines Matching refs:default_broadcast_sink
82 static struct broadcast_sink default_broadcast_sink; variable
2495 if (base_size != default_broadcast_sink.base_size || in base_recv()
2496 memcmp(base, &default_broadcast_sink.received_base, base_size) != 0) { in base_recv()
2498 (void)memcpy(&default_broadcast_sink.received_base, base, base_size); in base_recv()
2499 default_broadcast_sink.base_size = base_size; in base_recv()
2507 if (default_broadcast_sink.bap_sink == sink) { in syncable()
2508 if (default_broadcast_sink.syncable) { in syncable()
2514 default_broadcast_sink.syncable = true; in syncable()
2547 if (default_broadcast_sink.pa_sync == sync) { in bap_pa_sync_terminated_cb()
2548 default_broadcast_sink.syncable = false; in bap_pa_sync_terminated_cb()
2549 (void)memset(&default_broadcast_sink.received_base, 0, in bap_pa_sync_terminated_cb()
2550 sizeof(default_broadcast_sink.received_base)); in bap_pa_sync_terminated_cb()
3131 if (default_broadcast_sink.stream_cnt != 0) { in clear_stream_data()
3132 default_broadcast_sink.stream_cnt--; in clear_stream_data()
3135 if (default_broadcast_sink.stream_cnt == 0) { in clear_stream_data()
3137 memset(&default_broadcast_sink.received_base, 0, in clear_stream_data()
3138 sizeof(default_broadcast_sink.received_base)); in clear_stream_data()
3139 default_broadcast_sink.broadcast_id = 0; in clear_stream_data()
3140 default_broadcast_sink.syncable = false; in clear_stream_data()
3469 auto_scan.broadcast_sink = &default_broadcast_sink; in cmd_create_broadcast_sink()
3477 &default_broadcast_sink.bap_sink); in cmd_create_broadcast_sink()
3523 auto_scan.broadcast_sink = &default_broadcast_sink; in cmd_create_sink_by_name()
3600 if (default_broadcast_sink.bap_sink == NULL) { in cmd_sync_broadcast()
3610 err = bt_bap_broadcast_sink_sync(default_broadcast_sink.bap_sink, bis_bitfield, streams, in cmd_sync_broadcast()
3617 default_broadcast_sink.stream_cnt = stream_cnt; in cmd_sync_broadcast()
3627 if (default_broadcast_sink.bap_sink == NULL) { in cmd_stop_broadcast_sink()
3632 err = bt_bap_broadcast_sink_stop(default_broadcast_sink.bap_sink); in cmd_stop_broadcast_sink()
3646 if (default_broadcast_sink.bap_sink == NULL) { in cmd_term_broadcast_sink()
3651 err = bt_bap_broadcast_sink_delete(default_broadcast_sink.bap_sink); in cmd_term_broadcast_sink()
3657 default_broadcast_sink.bap_sink = NULL; in cmd_term_broadcast_sink()
3658 default_broadcast_sink.syncable = false; in cmd_term_broadcast_sink()