Home
last modified time | relevance | path

Searched refs:chan_alloc (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dlc3.c153 enum bt_audio_location *chan_alloc) in get_lc3_chan_alloc_from_index() argument
166 *chan_alloc = BT_AUDIO_LOCATION_FRONT_LEFT; in get_lc3_chan_alloc_from_index()
168 *chan_alloc = BT_AUDIO_LOCATION_FRONT_RIGHT; in get_lc3_chan_alloc_from_index()
170 *chan_alloc = BT_AUDIO_LOCATION_MONO_AUDIO; in get_lc3_chan_alloc_from_index()
196 enum bt_audio_location chan_alloc; in decode_frame_block() local
199 err = get_lc3_chan_alloc_from_index(stream, i, &chan_alloc); in decode_frame_block()
206 if ((chan_alloc == BT_AUDIO_LOCATION_FRONT_LEFT && in decode_frame_block()
208 (chan_alloc == BT_AUDIO_LOCATION_FRONT_RIGHT && in decode_frame_block()
216 err = usb_add_frame_to_usb(chan_alloc, lc3_rx_buf, in decode_frame_block()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c507 void bap_usb_get_frame(struct shell_stream *sh_stream, enum bt_audio_location chan_alloc, in bap_usb_get_frame() argument
510 const bool is_left = (chan_alloc & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in bap_usb_get_frame()
511 const bool is_right = (chan_alloc & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in bap_usb_get_frame()
512 const bool is_mono = chan_alloc == BT_AUDIO_LOCATION_MONO_AUDIO; in bap_usb_get_frame()
Dcap_initiator.c669 enum bt_audio_location chan_alloc; in set_codec_config() local
719 err = bt_audio_codec_cfg_get_chan_allocation(&sh_stream->codec_cfg, &chan_alloc, false); in set_codec_config()
722 chan_alloc = BT_AUDIO_LOCATION_MONO_AUDIO; in set_codec_config()
726 if (chan_alloc != new_chan_alloc) { in set_codec_config()
729 conn_index, ep_index, chan_alloc, new_chan_alloc); in set_codec_config()
Dbap.c220 enum bt_audio_location *chan_alloc) in get_lc3_chan_alloc_from_index() argument
233 *chan_alloc = BT_AUDIO_LOCATION_FRONT_LEFT; in get_lc3_chan_alloc_from_index()
235 *chan_alloc = BT_AUDIO_LOCATION_FRONT_RIGHT; in get_lc3_chan_alloc_from_index()
237 *chan_alloc = BT_AUDIO_LOCATION_MONO_AUDIO; in get_lc3_chan_alloc_from_index()
378 enum bt_audio_location chan_alloc; in encode_frame() local
381 err = get_lc3_chan_alloc_from_index(sh_stream, index, &chan_alloc); in encode_frame()
388 bap_usb_get_frame(sh_stream, chan_alloc, lc3_tx_buf); in encode_frame()
2698 enum bt_audio_location chan_alloc; in decode_frame_block() local
2701 err = get_lc3_chan_alloc_from_index(sh_stream, i, &chan_alloc); in decode_frame_block()
2708 if ((chan_alloc == BT_AUDIO_LOCATION_FRONT_LEFT && in decode_frame_block()
[all …]
Daudio.h167 void bap_usb_get_frame(struct shell_stream *sh_stream, enum bt_audio_location chan_alloc,
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst51 [chan_alloc <location>]
386 [chan_alloc <location>]