Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Basic Audio Profile (BAP) LC3 Presets

Basic Audio Profile (BAP) LC3 Presets. More...

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

Basic Audio Profile (BAP) LC3 Presets.

Since
3.0
Version
0.8.0

These APIs provide preset for codec configuration and codec QoS based on values supplied by the codec configuration tables in the BAP specification.

Macro Definition Documentation

◆ BT_BAP_LC3_BROADCAST_PRESET_16_1_1

#define BT_BAP_LC3_BROADCAST_PRESET_16_1_1 (   _loc,
  _stream_context 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:296

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:263

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:266

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:844
@ BT_AUDIO_CODEC_CFG_FREQ_44KHZ
44.1 Khz codec sampling frequency
Definition audio.h:269

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:272

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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:251

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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 
)

#include <include/zephyr/bluetooth/audio/bap_lc3_preset.h>

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_*)