diff mbox series

[2/2] ALSA: pcm: Extend the constraint table for 705.6kHz and 768KHz rate

Message ID 1619519663-10406-2-git-send-email-shengjiu.wang@nxp.com
State New
Headers show
Series [1/2] ALSA: pcm: Add support for 705.6KHz and 768KHz sample rate | expand

Commit Message

Shengjiu Wang April 27, 2021, 10:34 a.m. UTC
Some high resolution codecs support 705.6KHz and 768KHz rates
so extend the constraint table for 705.6kHz and 768KHz rate

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
 sound/core/pcm_native.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 17a85f4815d5..3e03f34cf3e2 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -2370,7 +2370,8 @@  static int snd_pcm_hw_rule_sample_bits(struct snd_pcm_hw_params *params,
 
 static const unsigned int rates[] = {
 	5512, 8000, 11025, 16000, 22050, 32000, 44100,
-	48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000
+	48000, 64000, 88200, 96000, 176400, 192000, 352800, 384000,
+	705600, 768000
 };
 
 const struct snd_pcm_hw_constraint_list snd_pcm_known_rates = {