From 6a4b0f0cac7b20c5ac0312ffb778e5f47e231e2a Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Sun, 11 Jan 2009 11:47:01 +0000 Subject: allow one more level of connections (3 instead of 2) away from DACs for mixers and selectors when choosing the defaults for outputs.master.slaves. --- sys/dev/pci/azalia.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 1877b222d0f..95824a6f8ca 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.113 2009/01/11 11:32:48 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.114 2009/01/11 11:47:00 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -1418,12 +1418,12 @@ azalia_codec_init_volgroups(codec_t *this) cap = w->outamp_cap; j = 0; /* azalia_codec_find_defdac only goes 10 connections deep. - * Start the connection depth at 8 so it doesn't go more - * than 2 connections deep. + * Start the connection depth at 7 so it doesn't go more + * than 3 connections deep. */ if (w->type == COP_AWTYPE_AUDIO_MIXER || w->type == COP_AWTYPE_AUDIO_SELECTOR) - j = 8; + j = 7; dac = azalia_codec_find_defdac(this, w->nid, j); if (dac == -1) continue; @@ -1448,7 +1448,7 @@ azalia_codec_init_volgroups(codec_t *this) j = 0; if (w->type == COP_AWTYPE_AUDIO_MIXER || w->type == COP_AWTYPE_AUDIO_SELECTOR) - j = 8; + j = 7; dac = azalia_codec_find_defdac(this, w->nid, j); if (dac == -1) continue; -- cgit v1.2.3