Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Gaming Audio Profile (GMAP) LC3 Presets

Gaming Audio Profile (GMAP) LC3 Presets. More...

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

Gaming Audio Profile (GMAP) LC3 Presets.

Since
3.5
Version
0.8.0

These APIs provide presets for codec configuration and codec QoS based on values supplied by the codec configurations from table 3.16 in the GMAP v1.0 specification

Macro Definition Documentation

◆ BT_GMAP_LC3_PRESET_16_1_GS

#define BT_GMAP_LC3_PRESET_16_1_GS ( _loc,
_stream_context )

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

Value:
_stream_context), \
BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 30U, 1U, 15U, 60000U))
#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 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 )

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

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

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 )

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

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

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 )

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

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 )

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

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 )

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

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 )

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

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

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 )

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

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 )

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

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 )

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

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 )

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

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 )

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

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 )

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

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 )

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

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 )

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

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 )

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

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