aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-01-04 23:49:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-01-04 23:49:00 +0000
commit6d97297a6a10863b003fe9ba5641a2732ee56b40 (patch)
treea4d0e62e49b1cca4cd16196374785540b333e245 /include
parentd2d00d11be48cb2f1e7c67d858b034b5492ffdeb (diff)
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
Notes
Notes: svn path=/head/; revision=70675
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions