[alsa-devel] [PATCH] patch_nvhdmi.c: Fix supported sample rate list.

Stephen Warren swarren at nvidia.com
Tue Sep 14 18:48:59 CEST 2010


22050 isn't a valid HDMI sample rate. 32000 is.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
Acked-By: Wei Ni <wni at nvidia.com>
---
 sound/pci/hda/patch_nvhdmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_nvhdmi.c b/sound/pci/hda/patch_nvhdmi.c
index 69b950d..baa108b 100644
--- a/sound/pci/hda/patch_nvhdmi.c
+++ b/sound/pci/hda/patch_nvhdmi.c
@@ -84,7 +84,7 @@ static struct hda_verb nvhdmi_basic_init_7x[] = {
 #else
 /* support all rates and formats */
 #define SUPPORTED_RATES \
-	(SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
+	(SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
 	SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_176400 |\
 	 SNDRV_PCM_RATE_192000)
 #define SUPPORTED_MAXBPS	24
-- 
1.7.0.4
nvpublic



More information about the Alsa-devel mailing list