Home
last modified time | relevance | path

Searched refs:lc3_chan_allocation (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dlc3.c156 const bool has_left = (stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in get_lc3_chan_alloc_from_index()
157 const bool has_right = (stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in get_lc3_chan_alloc_from_index()
158 const bool is_mono = stream->lc3_chan_allocation == BT_AUDIO_LOCATION_MONO_AUDIO; in get_lc3_chan_alloc_from_index()
336 ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &stream->lc3_chan_allocation, true); in lc3_enable()
338 stream->lc3_chan_cnt = bt_audio_get_chan_count(stream->lc3_chan_allocation); in lc3_enable()
383 if ((stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0) { in lc3_enable()
392 if ((stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0) { in lc3_enable()
Dstream_rx.h68 enum bt_audio_location lc3_chan_allocation; member
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c343 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in stream_cb()
345 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in stream_cb()
347 const bool is_mono = sh_stream->lc3_chan_allocation == BT_AUDIO_LOCATION_MONO_AUDIO; in stream_cb()
426 const bool has_left = (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in bap_usb_can_get_full_sdu()
428 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in bap_usb_can_get_full_sdu()
430 const bool is_mono = sh_stream->lc3_chan_allocation == BT_AUDIO_LOCATION_MONO_AUDIO; in bap_usb_can_get_full_sdu()
Dbap.c222 const bool has_left = (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in get_lc3_chan_alloc_from_index()
224 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in get_lc3_chan_alloc_from_index()
225 const bool is_mono = sh_stream->lc3_chan_allocation == BT_AUDIO_LOCATION_MONO_AUDIO; in get_lc3_chan_alloc_from_index()
2975 codec_cfg, &sh_stream->lc3_chan_allocation, false); in stream_started_cb()
2978 bt_audio_get_chan_count(sh_stream->lc3_chan_allocation); in stream_started_cb()
2981 sh_stream->lc3_chan_allocation = BT_AUDIO_LOCATION_MONO_AUDIO; in stream_started_cb()
3033 if ((sh_stream->lc3_chan_allocation & in stream_started_cb()
3044 if ((sh_stream->lc3_chan_allocation & in stream_started_cb()
3086 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_LEFT) != 0) { in update_usb_streams_cb()
3092 (sh_stream->lc3_chan_allocation & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0) { in update_usb_streams_cb()
Daudio.h103 enum bt_audio_location lc3_chan_allocation; member
160 int bap_usb_add_frame_to_usb(enum bt_audio_location lc3_chan_allocation, const int16_t *frame,