Skip to content

Commit

Permalink
ALSA: HDA VIA: Remove 48k sample rate limit for S/PDIF
Browse files Browse the repository at this point in the history
48 kHz limit is for slightly better stability, and sample rates other
than 48k (like 96k/192k) are for better sound quality.
We choose better quality, so remove the 48k limit.

Signed-off-by: Logan Li <loganli@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Logan Li authored and Takashi Iwai committed Oct 14, 2009
1 parent 0f48327 commit d2ed82a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sound/pci/hda/patch_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -4626,7 +4626,6 @@ static struct hda_pcm_stream vt1718S_pcm_digital_playback = {
.substreams = 2,
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
/* NID is set in via_build_pcms */
.ops = {
.open = via_dig_playback_pcm_open,
Expand Down Expand Up @@ -5124,7 +5123,6 @@ static struct hda_pcm_stream vt1716S_pcm_digital_playback = {
.substreams = 2,
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
/* NID is set in via_build_pcms */
.ops = {
.open = via_dig_playback_pcm_open,
Expand Down Expand Up @@ -5561,7 +5559,6 @@ static struct hda_pcm_stream vt2002P_pcm_digital_playback = {
.substreams = 1,
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
/* NID is set in via_build_pcms */
.ops = {
.open = via_dig_playback_pcm_open,
Expand Down Expand Up @@ -5914,7 +5911,6 @@ static struct hda_pcm_stream vt1812_pcm_digital_playback = {
.substreams = 1,
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
/* NID is set in via_build_pcms */
.ops = {
.open = via_dig_playback_pcm_open,
Expand Down

0 comments on commit d2ed82a

Please sign in to comment.