diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-05 07:07:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-05 07:07:48 +0000 |
commit | 60ec6a741af62daf8cc4aeff27b3e15032fa1b90 (patch) | |
tree | 496330314fd6028fab398026ad095243688c9b42 | |
parent | a7d7562a9162219c57926fa90b34aad990222b7b (diff) | |
download | FreeBSD-src-60ec6a741af62daf8cc4aeff27b3e15032fa1b90.zip FreeBSD-src-60ec6a741af62daf8cc4aeff27b3e15032fa1b90.tar.gz |
Call mixer_hwinit() when attaching.
-rw-r--r-- | sys/dev/sound/pci/maestro.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |