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

Header for Bluetooth GMAP LC3 presets. More...

Go to the source code of this file.

Macros

#define BT_GMAP_LC3_PRESET_32_1_GR(_loc, _stream_context)
 Helper to declare LC3 32_1_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_32_2_GR(_loc, _stream_context)
 Helper to declare LC3 32_2_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_1_GR(_loc, _stream_context)
 Helper to declare LC3 48_1_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_2_GR(_loc, _stream_context)
 Helper to declare LC3 48_2_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_3_GR(_loc, _stream_context)
 Helper to declare LC3 48_3_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_4_GR(_loc, _stream_context)
 Helper to declare LC3 48_4_gr codec configuration.
 
#define BT_GMAP_LC3_PRESET_16_1_GS(_loc, _stream_context)
 Helper to declare LC3 16_1_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_16_2_GS(_loc, _stream_context)
 Helper to declare LC3 16_2_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_32_1_GS(_loc, _stream_context)
 Helper to declare LC3 32_1_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_32_2_GS(_loc, _stream_context)
 Helper to declare LC3 32_2_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_1_GS(_loc, _stream_context)
 Helper to declare LC3 48_1_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_2_GS(_loc, _stream_context)
 Helper to declare LC3 48_2_gs codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_1_G(_loc, _stream_context)
 Helper to declare LC3 48_1_g codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_2_G(_loc, _stream_context)
 Helper to declare LC3 48_2_g codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_3_G(_loc, _stream_context)
 Helper to declare LC3 48_3_g codec configuration.
 
#define BT_GMAP_LC3_PRESET_48_4_G(_loc, _stream_context)
 Helper to declare LC3 48_4_g codec configuration.
 

Detailed Description

Header for Bluetooth GMAP LC3 presets.

Copyright (c) 2023 Nordic Semiconductor ASA

SPDX-License-Identifier: Apache-2.0

Macro Definition Documentation

◆ BT_GMAP_LC3_PRESET_16_1_GS

#define BT_GMAP_LC3_PRESET_16_1_GS (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 30U, 1U, 15U, 60000U))
#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 16_1_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_16_2_GS

#define BT_GMAP_LC3_PRESET_16_2_GS (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 40U, 1U, 20U, 60000U))
@ BT_AUDIO_CODEC_CFG_DURATION_10
10 msec Frame Duration configuration
Definition: audio.h:275

Helper to declare LC3 16_2_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_32_1_GR

#define BT_GMAP_LC3_PRESET_32_1_GR (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 60U, 1U, 15U, 10000U))
@ BT_AUDIO_CODEC_CFG_FREQ_32KHZ
32 Khz codec sampling frequency
Definition: audio.h:246

Helper to declare LC3 32_1_gr codec configuration.

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

◆ BT_GMAP_LC3_PRESET_32_1_GS

#define BT_GMAP_LC3_PRESET_32_1_GS (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 32_1_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_32_2_GR

#define BT_GMAP_LC3_PRESET_32_2_GR (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 32_2_gr codec configuration.

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

◆ BT_GMAP_LC3_PRESET_32_2_GS

#define BT_GMAP_LC3_PRESET_32_2_GS (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 32_2_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_1_G

#define BT_GMAP_LC3_PRESET_48_1_G (   _loc,
  _stream_context 
)
Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 75U, 1U, 8U, 10000U))
@ BT_AUDIO_CODEC_CFG_FREQ_48KHZ
48 Khz codec sampling frequency
Definition: audio.h:252

Helper to declare LC3 48_1_g codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_1_GR

#define BT_GMAP_LC3_PRESET_48_1_GR (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_1_gr codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_1_GS

#define BT_GMAP_LC3_PRESET_48_1_GS (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_1_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_2_G

#define BT_GMAP_LC3_PRESET_48_2_G (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_2_g codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_2_GR

#define BT_GMAP_LC3_PRESET_48_2_GR (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_2_gr 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_GMAP_LC3_PRESET_48_2_GS

#define BT_GMAP_LC3_PRESET_48_2_GS (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_2_gs codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_3_G

#define BT_GMAP_LC3_PRESET_48_3_G (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_3_g codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_3_GR

#define BT_GMAP_LC3_PRESET_48_3_GR (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_3_gr codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_4_G

#define BT_GMAP_LC3_PRESET_48_4_G (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_4_g codec configuration.

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

◆ BT_GMAP_LC3_PRESET_48_4_GR

#define BT_GMAP_LC3_PRESET_48_4_GR (   _loc,
  _stream_context 
)
Value:

Helper to declare LC3 48_4_gr codec configuration.

Mandatory to support as unicast server

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