提交 35add1c2 编写于 作者: C Clemens Ladisch 提交者: Jaroslav Kysela

[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: NClemens Ladisch <clemens@ladisch.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 22a22f5a
......@@ -718,19 +718,19 @@ static int snd_cmipci_hw_free(struct snd_pcm_substream *substream)
/*
*/
static unsigned int hw_channels[] = {1, 2, 4, 5, 6, 8};
static unsigned int hw_channels[] = {1, 2, 4, 6, 8};
static struct snd_pcm_hw_constraint_list hw_constraints_channels_4 = {
.count = 3,
.list = hw_channels,
.mask = 0,
};
static struct snd_pcm_hw_constraint_list hw_constraints_channels_6 = {
.count = 5,
.count = 4,
.list = hw_channels,
.mask = 0,
};
static struct snd_pcm_hw_constraint_list hw_constraints_channels_8 = {
.count = 6,
.count = 5,
.list = hw_channels,
.mask = 0,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册