From 60ec6a741af62daf8cc4aeff27b3e15032fa1b90 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 5 Jan 2001 07:07:48 +0000 Subject: Call mixer_hwinit() when attaching. --- sys/dev/sound/pci/maestro.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sound/pci/maestro.c b/sys/dev/sound/pci/maestro.c index 6ddf375..2cfd7a4 100644 --- a/sys/dev/sound/pci/maestro.c +++ b/sys/dev/sound/pci/maestro.c @@ -1035,6 +1035,7 @@ agg_attach(device_t dev) if (pcm_register(dev, ess, AGG_MAXPLAYCH, 1)) goto bad; + mixer_hwinit(dev); for (data = 0; data < AGG_MAXPLAYCH; data++) pcm_addchan(dev, PCMDIR_PLAY, &aggch_class, ess); #if 0 /* XXX - RECORDING */ -- cgit v1.1