diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-21 02:53:30 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:08 -0500 |
commit | 7f0b89465bb94eb3273ea5af5e009332351a54c9 (patch) | |
tree | 9ea524a7c9ecaf37f60edc5838aa1887221b0f75 /sound/pci/oxygen/oxygen_pcm.c | |
parent | 5a256f862c2a9155456b718edb303e37cda2d153 (diff) |
[ALSA] oxygen: add 192 kHz SPDIF input support
Change the oxygen_spdif_input_bits_changed() function so that clock
changes on the SPDIF input are correctly detected. This means that
sample rates greater than 96 kHz are now supported.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen_pcm.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_pcm.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sound/pci/oxygen/oxygen_pcm.c b/sound/pci/oxygen/oxygen_pcm.c index 31b0ccdca9a8..200290099cbc 100644 --- a/sound/pci/oxygen/oxygen_pcm.c +++ b/sound/pci/oxygen/oxygen_pcm.c | |||
@@ -85,12 +85,16 @@ static struct snd_pcm_hardware oxygen_hardware[PCM_COUNT] = { | |||
85 | SNDRV_PCM_INFO_SYNC_START, | 85 | SNDRV_PCM_INFO_SYNC_START, |
86 | .formats = SNDRV_PCM_FMTBIT_S16_LE | | 86 | .formats = SNDRV_PCM_FMTBIT_S16_LE | |
87 | SNDRV_PCM_FMTBIT_S32_LE, | 87 | SNDRV_PCM_FMTBIT_S32_LE, |
88 | .rates = SNDRV_PCM_RATE_44100 | | 88 | .rates = SNDRV_PCM_RATE_32000 | |
89 | SNDRV_PCM_RATE_44100 | | ||
89 | SNDRV_PCM_RATE_48000 | | 90 | SNDRV_PCM_RATE_48000 | |
91 | SNDRV_PCM_RATE_64000 | | ||
90 | SNDRV_PCM_RATE_88200 | | 92 | SNDRV_PCM_RATE_88200 | |
91 | SNDRV_PCM_RATE_96000, | 93 | SNDRV_PCM_RATE_96000 | |
92 | .rate_min = 44100, | 94 | SNDRV_PCM_RATE_176400 | |
93 | .rate_max = 96000, | 95 | SNDRV_PCM_RATE_192000, |
96 | .rate_min = 32000, | ||
97 | .rate_max = 192000, | ||
94 | .channels_min = 2, | 98 | .channels_min = 2, |
95 | .channels_max = 2, | 99 | .channels_max = 2, |
96 | .buffer_bytes_max = 256 * 1024, | 100 | .buffer_bytes_max = 256 * 1024, |