diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h index 4c6167c87f..058bd71f6d 100644 --- a/include/nuttx/audio/audio.h +++ b/include/nuttx/audio/audio.h @@ -212,26 +212,27 @@ #define AUDIO_SAMP_RATE_8K 0x0001 #define AUDIO_SAMP_RATE_11K 0x0002 -#define AUDIO_SAMP_RATE_16K 0x0004 -#define AUDIO_SAMP_RATE_22K 0x0008 -#define AUDIO_SAMP_RATE_24K 0x0010 -#define AUDIO_SAMP_RATE_32K 0x0020 -#define AUDIO_SAMP_RATE_44K 0x0040 -#define AUDIO_SAMP_RATE_48K 0x0080 -#define AUDIO_SAMP_RATE_88K 0x0100 -#define AUDIO_SAMP_RATE_96K 0x0200 -#define AUDIO_SAMP_RATE_128K 0x0400 -#define AUDIO_SAMP_RATE_160K 0x0800 -#define AUDIO_SAMP_RATE_172K 0x1000 -#define AUDIO_SAMP_RATE_192K 0x2000 -#define AUDIO_SAMP_RATE_DEF_ALL (AUDIO_SAMP_RATE_8K | AUDIO_SAMP_RATE_11K | \ - AUDIO_SAMP_RATE_16K | AUDIO_SAMP_RATE_22K | \ - AUDIO_SAMP_RATE_24K | AUDIO_SAMP_RATE_32K | \ - AUDIO_SAMP_RATE_44K | AUDIO_SAMP_RATE_48K | \ - AUDIO_SAMP_RATE_88K | AUDIO_SAMP_RATE_96K | \ - AUDIO_SAMP_RATE_128K | AUDIO_SAMP_RATE_160K | \ - AUDIO_SAMP_RATE_172K | AUDIO_SAMP_RATE_192K ) - +#define AUDIO_SAMP_RATE_12K 0x0004 +#define AUDIO_SAMP_RATE_16K 0x0008 +#define AUDIO_SAMP_RATE_22K 0x0010 +#define AUDIO_SAMP_RATE_24K 0x0020 +#define AUDIO_SAMP_RATE_32K 0x0040 +#define AUDIO_SAMP_RATE_44K 0x0080 +#define AUDIO_SAMP_RATE_48K 0x0100 +#define AUDIO_SAMP_RATE_88K 0x0200 +#define AUDIO_SAMP_RATE_96K 0x0400 +#define AUDIO_SAMP_RATE_128K 0x0800 +#define AUDIO_SAMP_RATE_160K 0x1000 +#define AUDIO_SAMP_RATE_172K 0x2000 +#define AUDIO_SAMP_RATE_192K 0x4000 +#define AUDIO_SAMP_RATE_DEF_ALL (AUDIO_SAMP_RATE_8K | AUDIO_SAMP_RATE_11K | \ + AUDIO_SAMP_RATE_12K | AUDIO_SAMP_RATE_16K | \ + AUDIO_SAMP_RATE_22K | AUDIO_SAMP_RATE_24K | \ + AUDIO_SAMP_RATE_32K | AUDIO_SAMP_RATE_44K | \ + AUDIO_SAMP_RATE_48K | AUDIO_SAMP_RATE_88K | \ + AUDIO_SAMP_RATE_96K | AUDIO_SAMP_RATE_128K | \ + AUDIO_SAMP_RATE_160K | AUDIO_SAMP_RATE_172K | \ + AUDIO_SAMP_RATE_192K) /* Audio Sub-sampling Ratios ***********************************************/ #define AUDIO_SUBSAMPLE_NONE 0