Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c505 void bap_usb_get_frame(struct shell_stream *sh_stream, enum bt_audio_location chan_alloc, in bap_usb_get_frame() argument
508 const bool is_left = (chan_alloc & BT_AUDIO_LOCATION_FRONT_LEFT) != 0; in bap_usb_get_frame()
509 const bool is_right = (chan_alloc & BT_AUDIO_LOCATION_FRONT_RIGHT) != 0; in bap_usb_get_frame()
510 const bool is_mono = chan_alloc == BT_AUDIO_LOCATION_MONO_AUDIO; in bap_usb_get_frame()
Dcap_initiator.c674 enum bt_audio_location chan_alloc; in set_codec_config() local
724 err = bt_audio_codec_cfg_get_chan_allocation(&sh_stream->codec_cfg, &chan_alloc, false); in set_codec_config()
727 chan_alloc = BT_AUDIO_LOCATION_MONO_AUDIO; in set_codec_config()
731 if (chan_alloc != new_chan_alloc) { in set_codec_config()
734 conn_index, ep_index, chan_alloc, new_chan_alloc); in set_codec_config()
Dbap.c218 enum bt_audio_location *chan_alloc) in get_lc3_chan_alloc_from_index() argument
231 *chan_alloc = BT_AUDIO_LOCATION_FRONT_LEFT; in get_lc3_chan_alloc_from_index()
233 *chan_alloc = BT_AUDIO_LOCATION_FRONT_RIGHT; in get_lc3_chan_alloc_from_index()
235 *chan_alloc = BT_AUDIO_LOCATION_MONO_AUDIO; in get_lc3_chan_alloc_from_index()
376 enum bt_audio_location chan_alloc; in encode_frame() local
379 err = get_lc3_chan_alloc_from_index(sh_stream, index, &chan_alloc); in encode_frame()
386 bap_usb_get_frame(sh_stream, chan_alloc, lc3_tx_buf); in encode_frame()
2701 enum bt_audio_location chan_alloc; in decode_frame_block() local
2704 err = get_lc3_chan_alloc_from_index(sh_stream, i, &chan_alloc); in decode_frame_block()
2711 if ((chan_alloc == BT_AUDIO_LOCATION_FRONT_LEFT && in decode_frame_block()
[all …]
Daudio.h166 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>]