From: Vinod Koul Date: Sat, 20 Jul 2013 06:30:38 +0000 (+0530) Subject: compress: fix the typo in compress_get_alsa_rate() X-Git-Tag: v1.1.0~28 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7d7965cba92269000fc57f7be52fd0231dc083b3;p=tinycompress.git compress: fix the typo in compress_get_alsa_rate() Reported-by: Ravi Signed-off-by: Vinod Koul --- diff --git a/utils.c b/utils.c index fa37f23..a835bef 100644 --- a/utils.c +++ b/utils.c @@ -72,7 +72,7 @@ unsigned int compress_get_alsa_rate(unsigned int rate) return SNDRV_PCM_RATE_11025; case 16000: return SNDRV_PCM_RATE_16000; - case 220500: + case 22050: return SNDRV_PCM_RATE_22050; case 32000: return SNDRV_PCM_RATE_32000;