10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_LC3_PRESET_
11#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_LC3_PRESET_
42#define BT_GMAP_LC3_PRESET_32_1_GR(_loc, _stream_context) \
43 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_32KHZ, \
44 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 60U, 1, \
46 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 60U, 1U, 15U, 10000U))
54#define BT_GMAP_LC3_PRESET_32_2_GR(_loc, _stream_context) \
55 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_32KHZ, \
56 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 80U, 1, \
58 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 80U, 1U, 20U, 10000U))
66#define BT_GMAP_LC3_PRESET_48_1_GR(_loc, _stream_context) \
67 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
68 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 75U, 1, \
70 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 75U, 1U, 15U, 10000U))
80#define BT_GMAP_LC3_PRESET_48_2_GR(_loc, _stream_context) \
81 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
82 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 100U, 1, \
84 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 100U, 1U, 20U, 10000U))
92#define BT_GMAP_LC3_PRESET_48_3_GR(_loc, _stream_context) \
93 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
94 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 90U, 1, \
96 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 90U, 1U, 15U, 10000U))
106#define BT_GMAP_LC3_PRESET_48_4_GR(_loc, _stream_context) \
107 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
108 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 120u, 1, \
110 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 120U, 1U, 20U, 10000U))
118#define BT_GMAP_LC3_PRESET_16_1_GS(_loc, _stream_context) \
119 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_16KHZ, \
120 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 30U, 1, \
122 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 30U, 1U, 15U, 60000U))
130#define BT_GMAP_LC3_PRESET_16_2_GS(_loc, _stream_context) \
131 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_16KHZ, \
132 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 40U, 1, \
134 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 40U, 1U, 20U, 60000U))
142#define BT_GMAP_LC3_PRESET_32_1_GS(_loc, _stream_context) \
143 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_32KHZ, \
144 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 60U, 1, \
146 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 60U, 1U, 15U, 60000U))
154#define BT_GMAP_LC3_PRESET_32_2_GS(_loc, _stream_context) \
155 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_32KHZ, \
156 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 80U, 1, \
158 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 80U, 1U, 20U, 60000U))
166#define BT_GMAP_LC3_PRESET_48_1_GS(_loc, _stream_context) \
167 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
168 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 75U, 1, \
170 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 75U, 1U, 15U, 60000U))
178#define BT_GMAP_LC3_PRESET_48_2_GS(_loc, _stream_context) \
179 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
180 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 100U, 1, \
182 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 100U, 1U, 20U, 60000U))
192#define BT_GMAP_LC3_PRESET_48_1_G(_loc, _stream_context) \
193 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
194 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 75U, 1, \
196 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 75U, 1U, 8U, 10000U))
204#define BT_GMAP_LC3_PRESET_48_2_G(_loc, _stream_context) \
205 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
206 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 100U, 1, \
208 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 100U, 1U, 10U, 10000U))
216#define BT_GMAP_LC3_PRESET_48_3_G(_loc, _stream_context) \
217 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
218 BT_AUDIO_CODEC_CFG_DURATION_7_5, _loc, 90U, 1, \
220 BT_AUDIO_CODEC_QOS_UNFRAMED(7500u, 90U, 1U, 8U, 10000U))
228#define BT_GMAP_LC3_PRESET_48_4_G(_loc, _stream_context) \
229 BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_48KHZ, \
230 BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 120u, 1, \
232 BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 120U, 1U, 10U, 10000U))
Header for Bluetooth BAP LC3 presets.
Bluetooth Audio handling.
Bluetooth LC3 codec handling.