Zephyr API Documentation 4.0.99
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 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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(7500u, 30u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_DURATION_7_5
7.5 msec Frame Duration configuration
Definition audio.h:292
@ BT_AUDIO_CODEC_CFG_FREQ_16KHZ
16 Khz codec sampling frequency
Definition audio.h:256
#define BT_BAP_LC3_PRESET(_codec, _qos)
Helper to declare an LC3 preset structure.
Definition bap_lc3_preset.h:46
#define BT_BAP_QOS_CFG_UNFRAMED(_interval, _sdu, _rtn, _latency, _pd)
Helper to declare Input Unframed bt_bap_qos_cfg.
Definition bap.h:116
#define BT_AUDIO_CODEC_LC3_CONFIG(_freq, _duration, _loc, _len, _frames_per_sdu, _stream_context)
Helper to declare LC3 codec configuration.
Definition lc3.h:133

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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(10000u, 40u, 2u, 10u, 40000u))
@ BT_AUDIO_CODEC_CFG_DURATION_10
10 msec Frame Duration configuration
Definition audio.h:295

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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(7500u, 45u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_24KHZ
24 Khz codec sampling frequency
Definition audio.h:262

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 <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 <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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(7500u, 60u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_32KHZ
32 Khz codec sampling frequency
Definition audio.h:265

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 <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 <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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_FRAMED(8163u, 97u, 4u, 24u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_44KHZ
44.1 Khz codec sampling frequency
Definition audio.h:268
#define BT_BAP_QOS_CFG_FRAMED(_interval, _sdu, _rtn, _latency, _pd)
Helper to declare Input Framed bt_bap_qos_cfg.
Definition bap.h:129

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 <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 <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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(7500u, 75u, 4u, 15u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_48KHZ
48 Khz codec sampling frequency
Definition audio.h:271

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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <zephyr/bluetooth/audio/bap_lc3_preset.h>

Value:
_stream_context), \
BT_BAP_QOS_CFG_UNFRAMED(7500u, 26u, 2u, 8u, 40000u))
@ BT_AUDIO_CODEC_CFG_FREQ_8KHZ
8 Khz codec sampling frequency
Definition audio.h:250

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