[alsa-devel] [PATCH v2] compress: fix the typo in compress_get_alsa_rate()
Vinod Koul
vinod.koul at intel.com
Sat Jul 20 08:51:18 CEST 2013
Reported-by: Ravi <ralama at codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
--
1.7.0.4
More information about the Alsa-devel
mailing list