This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6e99b31dc615069c4bc178cad872ce2279e2959d Author: wurui3 <[email protected]> AuthorDate: Fri Sep 19 17:26:14 2025 +0800 audio: add the LC3 and Speex format ids The codec options already describe LC3 encoding and decoding (audio_enc_lc3_s, audio_dec_lc3_s), but there is no format id to select LC3, nor one for Speex. Add AUDIO_FMT_LC3 and AUDIO_FMT_SPEEX after AUDIO_FMT_APE. Signed-off-by: wurui3 <[email protected]> --- include/nuttx/audio/audio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h index 1d44baa7c63..4fc3dd3e2a7 100644 --- a/include/nuttx/audio/audio.h +++ b/include/nuttx/audio/audio.h @@ -175,6 +175,8 @@ #define AUDIO_FMT_G729 0x17 #define AUDIO_FMT_ALAC 0x18 #define AUDIO_FMT_APE 0x19 +#define AUDIO_FMT_LC3 0x1a +#define AUDIO_FMT_SPEEX 0x1b #define AUDIO_SUBFMT_END 0x00
