[alsa-devel] [PATCH 3/3] ALSA: hda - initialize channel counts correctly
David Henningsson
david.henningsson at canonical.com
Wed Jan 16 11:45:37 CET 2013
Even a single DAC can output two channels, so the channel count
is twice the number of DACs.
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
sound/pci/hda/hda_generic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index aac8eb9..3ef38da 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -1399,7 +1399,7 @@ static int fill_and_eval_dacs(struct hda_codec *codec,
}
spec->ext_channel_count = spec->min_channel_count =
- spec->multiout.num_dacs;
+ spec->multiout.num_dacs * 2;
if (spec->multi_ios == 2) {
for (i = 0; i < 2; i++)
--
1.7.9.5
More information about the Alsa-devel
mailing list