diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2007-09-17 03:39:10 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 10:50:32 -0400 |
commit | 35add1c295c634fdbb1072189286e4eab3fd64fa (patch) | |
tree | b4a5b57b604b3cfc8cf52b83377d50e39d35e980 /sound/pci/cmipci.c | |
parent | 22a22f5aacdbb73ca605d34df76201a2df0fe8ac (diff) |
[ALSA] cmipci: remove 5.0 format
Disallow playback of five channels because the hardware does not support
it (or nobody knows how to do it).
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r-- | sound/pci/cmipci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 51ba704d4bc9..c51ea0ef26f9 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -718,19 +718,19 @@ static int snd_cmipci_hw_free(struct snd_pcm_substream *substream) | |||
718 | /* | 718 | /* |
719 | */ | 719 | */ |
720 | 720 | ||
721 | static unsigned int hw_channels[] = {1, 2, 4, 5, 6, 8}; | 721 | static unsigned int hw_channels[] = {1, 2, 4, 6, 8}; |
722 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_4 = { | 722 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_4 = { |
723 | .count = 3, | 723 | .count = 3, |
724 | .list = hw_channels, | 724 | .list = hw_channels, |
725 | .mask = 0, | 725 | .mask = 0, |
726 | }; | 726 | }; |
727 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_6 = { | 727 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_6 = { |
728 | .count = 5, | 728 | .count = 4, |
729 | .list = hw_channels, | 729 | .list = hw_channels, |
730 | .mask = 0, | 730 | .mask = 0, |
731 | }; | 731 | }; |
732 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_8 = { | 732 | static struct snd_pcm_hw_constraint_list hw_constraints_channels_8 = { |
733 | .count = 6, | 733 | .count = 5, |
734 | .list = hw_channels, | 734 | .list = hw_channels, |
735 | .mask = 0, | 735 | .mask = 0, |
736 | }; | 736 | }; |