diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-04 23:49:00 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-04 23:49:00 +0000 |
commit | 56f540e9ebf14be5b314d00977c16e37017032f6 (patch) | |
tree | 604f3876f99b18ec308f9c46ed1570e4afafbb2d /sys/dev/dgb/dgreg.h | |
parent | 7fdb864af77f4df5a2cd92c362d93dd5d2d10f49 (diff) | |
download | FreeBSD-src-56f540e9ebf14be5b314d00977c16e37017032f6.zip FreeBSD-src-56f540e9ebf14be5b314d00977c16e37017032f6.tar.gz |
The 'maxchans' count is one more than the number of channels, so
'chancount' never got up to equaling 'maxchans'. As a result,
pcm_makelinks() was never called, and one always had to set the sysctl to
get the /dev/mixer and other symlinks generated in the DEVFS case. Instead,
change the test in pcm_addchan() to call pcm_makelinks() after the first
channel is initialized, since the aliases are linked to channel 0.
Reviewed by: cg
Diffstat (limited to 'sys/dev/dgb/dgreg.h')
0 files changed, 0 insertions, 0 deletions