Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bap_lc3_preset.h File Reference

Header for Bluetooth BAP LC3 presets. More...

Go to the source code of this file.

Data Structures

struct  bt_bap_lc3_preset
 Struct to hold a BAP defined LC3 preset. More...
 

Macros

#define BT_BAP_LC3_PRESET(_codec, _qos)
 Helper to declare an LC3 preset structure.
 
#define BT_BAP_LC3_UNICAST_PRESET_8_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 8_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_8_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 8_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_16_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 16_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_16_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 16_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_24_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 24_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_24_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 24_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_32_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 32_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_32_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 32_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_441_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 441_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_441_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 441_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_1_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_1_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_2_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_2_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_3_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_3_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_4_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_4_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_5_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 8_5_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_6_1(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_6_1 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_8_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 8_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_8_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 8_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_16_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 16_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_16_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 16_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_24_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 24_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_24_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 24_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_32_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 32_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_32_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 32_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_441_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 441_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_441_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 441_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_1_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_1_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_2_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_2_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_3_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_3_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_4_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_4_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_5_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_5_2 codec configuration.
 
#define BT_BAP_LC3_UNICAST_PRESET_48_6_2(_loc, _stream_context)
 Helper to declare LC3 Unicast 48_6_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_8_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 8_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_8_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 8_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_16_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 16_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_16_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 16_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_24_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 24_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_24_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 24_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_32_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 32_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_32_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 32_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_441_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 441_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_441_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 441_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_1_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_1_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_2_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_2_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_3_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_3_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_4_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_4_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_5_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_5_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_6_1(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_6_1 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_8_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 8_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_8_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 8_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_16_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 16_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_16_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 16_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_24_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 24_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_24_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 24_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_32_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 32_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_32_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 32_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_441_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 441_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_441_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 441_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_1_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_1_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_2_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_2_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_3_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_3_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_4_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_4_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_5_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_5_2 codec configuration.
 
#define BT_BAP_LC3_BROADCAST_PRESET_48_6_2(_loc, _stream_context)
 Helper to declare LC3 Broadcast 48_6_2 codec configuration.
 

Detailed Description

Header for Bluetooth BAP LC3 presets.

Copyright (c) 2023 Nordic Semiconductor ASA

SPDX-License-Identifier: Apache-2.0

Macro Definition Documentation

◆ BT_BAP_LC3_BROADCAST_PRESET_16_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_16_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 30u, 2u, 8u, 40000u))
#define BT_BAP_LC3_PRESET(_codec, _qos)
Helper to declare an LC3 preset structure.
Definition: bap_lc3_preset.h:23
#define BT_AUDIO_CODEC_LC3_CONFIG(_freq, _duration, _loc, _len, _frames_per_sdu, _stream_context)
Helper to declare LC3 codec configuration.
Definition: lc3.h:123
#define BT_AUDIO_CODEC_QOS_UNFRAMED(_interval, _sdu, _rtn, _latency, _pd)
Helper to declare Input Unframed bt_audio_codec_qos.
Definition: audio.h:686
@ BT_AUDIO_CODEC_CFG_DURATION_7_5
7.5 msec Frame Duration configuration
Definition: audio.h:272
@ BT_AUDIO_CODEC_CFG_FREQ_16KHZ
16 Khz codec sampling frequency
Definition: audio.h:237

Helper to declare LC3 Broadcast 16_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_16_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_16_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 16_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_16_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_16_2_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 40u, 2u, 10u, 40000u))
@ BT_AUDIO_CODEC_CFG_DURATION_10
10 msec Frame Duration configuration
Definition: audio.h:275

Helper to declare LC3 Broadcast 16_2_1 codec configuration.

Mandatory to support as both broadcast source and sink

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_16_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_16_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 16_2_2 codec configuration.

Mandatory to support as both broadcast source and sink

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_24_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_24_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 45u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_24KHZ
24 Khz codec sampling frequency
Definition: audio.h:243

Helper to declare LC3 Broadcast 24_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_24_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_24_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 24_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_24_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_24_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 24_2_1 codec configuration.

Mandatory to support as broadcast sink

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_24_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_24_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 24_2_2 codec configuration.

Mandatory to support as broadcast sink

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_32_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_32_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 60u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_32KHZ
32 Khz codec sampling frequency
Definition: audio.h:246

Helper to declare LC3 Broadcast 32_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_32_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_32_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 32_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_32_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_32_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 32_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_32_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_32_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 32_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_441_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_441_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_FRAMED(8163u, 97u, 4u, 24u, 40000u))
#define BT_AUDIO_CODEC_QOS_FRAMED(_interval, _sdu, _rtn, _latency, _pd)
Helper to declare Input Framed bt_audio_codec_qos.
Definition: audio.h:699
@ BT_AUDIO_CODEC_CFG_FREQ_44KHZ
44.1 Khz codec sampling frequency
Definition: audio.h:249

Helper to declare LC3 Broadcast 441_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_441_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_441_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 441_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_441_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_441_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 441_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_441_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_441_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 441_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 75u, 4u, 15u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_48KHZ
48 Khz codec sampling frequency
Definition: audio.h:252

Helper to declare LC3 Broadcast 48_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_3_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_3_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_3_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_3_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_3_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_3_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_4_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_4_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_4_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_4_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_4_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_4_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_5_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_5_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_5_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_5_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_5_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_5_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_6_1

#define BT_BAP_LC3_BROADCAST_PRESET_48_6_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_6_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_48_6_2

#define BT_BAP_LC3_BROADCAST_PRESET_48_6_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 48_6_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_8_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_8_1_1 (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 26u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_8KHZ
8 Khz codec sampling frequency
Definition: audio.h:231

Helper to declare LC3 Broadcast 8_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_8_1_2

#define BT_BAP_LC3_BROADCAST_PRESET_8_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 8_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_8_2_1

#define BT_BAP_LC3_BROADCAST_PRESET_8_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 8_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_BROADCAST_PRESET_8_2_2

#define BT_BAP_LC3_BROADCAST_PRESET_8_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Broadcast 8_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_PRESET

#define BT_BAP_LC3_PRESET (   _codec,
  _qos 
)
Value:
{ \
.codec_cfg = _codec, .qos = _qos, \
}

Helper to declare an LC3 preset structure.

◆ BT_BAP_LC3_UNICAST_PRESET_16_1_1

#define BT_BAP_LC3_UNICAST_PRESET_16_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 16_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_16_1_2

#define BT_BAP_LC3_UNICAST_PRESET_16_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 16_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_16_2_1

#define BT_BAP_LC3_UNICAST_PRESET_16_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 16_2_1 codec configuration.

Mandatory to support as both unicast client and server

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_16_2_2

#define BT_BAP_LC3_UNICAST_PRESET_16_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 16_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_24_1_1

#define BT_BAP_LC3_UNICAST_PRESET_24_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 24_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_24_1_2

#define BT_BAP_LC3_UNICAST_PRESET_24_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 24_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_24_2_1

#define BT_BAP_LC3_UNICAST_PRESET_24_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 24_2_1 codec configuration.

Mandatory to support as unicast server

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_24_2_2

#define BT_BAP_LC3_UNICAST_PRESET_24_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 24_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_32_1_1

#define BT_BAP_LC3_UNICAST_PRESET_32_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 32_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_32_1_2

#define BT_BAP_LC3_UNICAST_PRESET_32_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 32_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_32_2_1

#define BT_BAP_LC3_UNICAST_PRESET_32_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 32_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_32_2_2

#define BT_BAP_LC3_UNICAST_PRESET_32_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 32_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_441_1_1

#define BT_BAP_LC3_UNICAST_PRESET_441_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 441_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_441_1_2

#define BT_BAP_LC3_UNICAST_PRESET_441_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 441_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_441_2_1

#define BT_BAP_LC3_UNICAST_PRESET_441_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 441_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_441_2_2

#define BT_BAP_LC3_UNICAST_PRESET_441_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 441_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_1_1

#define BT_BAP_LC3_UNICAST_PRESET_48_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_1_2

#define BT_BAP_LC3_UNICAST_PRESET_48_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_2_1

#define BT_BAP_LC3_UNICAST_PRESET_48_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_2_2

#define BT_BAP_LC3_UNICAST_PRESET_48_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_3_1

#define BT_BAP_LC3_UNICAST_PRESET_48_3_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_3_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_3_2

#define BT_BAP_LC3_UNICAST_PRESET_48_3_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_3_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_4_1

#define BT_BAP_LC3_UNICAST_PRESET_48_4_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_4_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_4_2

#define BT_BAP_LC3_UNICAST_PRESET_48_4_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_4_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_5_1

#define BT_BAP_LC3_UNICAST_PRESET_48_5_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 8_5_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_5_2

#define BT_BAP_LC3_UNICAST_PRESET_48_5_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_5_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_6_1

#define BT_BAP_LC3_UNICAST_PRESET_48_6_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_6_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_48_6_2

#define BT_BAP_LC3_UNICAST_PRESET_48_6_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 48_6_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_8_1_1

#define BT_BAP_LC3_UNICAST_PRESET_8_1_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 8_1_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_8_1_2

#define BT_BAP_LC3_UNICAST_PRESET_8_1_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 8_1_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_8_2_1

#define BT_BAP_LC3_UNICAST_PRESET_8_2_1 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 8_2_1 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)

◆ BT_BAP_LC3_UNICAST_PRESET_8_2_2

#define BT_BAP_LC3_UNICAST_PRESET_8_2_2 (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 Unicast 8_2_2 codec configuration.

Parameters
_locAudio channel location bitfield (bt_audio_location)
_stream_contextStream context (BT_AUDIO_CONTEXT_*)