topology: Add SND_PCM_RATE_24000 for 24 kHz rate support

The Low Complexity Communication Codec (LC3) supports 24 kHz
sample rate, so add SND_PCM_RATE_24000 to the supported rates.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
This commit is contained in:
Yong Zhi 2024-04-30 13:12:02 -05:00
parent 3864f7d95f
commit b12f4a4551
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ static const char *const snd_pcm_rate_names[] = {
RATE(11025),
RATE(16000),
RATE(22050),
RATE(24000),
RATE(32000),
RATE(44100),
RATE(48000),

View file

@ -47,6 +47,7 @@ typedef enum _snd_pcm_rates {
SND_PCM_RATE_11025,
SND_PCM_RATE_16000,
SND_PCM_RATE_22050,
SND_PCM_RATE_24000,
SND_PCM_RATE_32000,
SND_PCM_RATE_44100,
SND_PCM_RATE_48000,