Skip to contentSkip to conversation

patch_nvhdmi.c: Fix supported sample rate list.

PATCH In review Stephen Warren 2 participants 2 messages Sep 14, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 patch_nvhdmi.c: Fix supported sample rate list.

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

---
 sound/pci/hda/patch_nvhdmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/patch_nvhdmi.c +1 -1
index 69b950d..baa108b 100644
@@ -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
Signature · 2 lines
1.7.0.4
nvpublic
#1 lore raw

At Tue, 14 Sep 2010 10:48:59 -0600,

Quoted 5 lines · Stephen Warren

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

Applied now. Thanks.

Takashi

Quoted 26 lines
---
 sound/pci/hda/patch_nvhdmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/patch_nvhdmi.c +1 -1
index 69b950d..baa108b 100644
@@ -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
Signature · 7 lines
1.7.0.4
nvpublic

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel