HomeFreeBSD

The 'maxchans' count is one more than the number of channels, so

Description

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

Details

Provenance
jhbAuthored on Jan 4 2001, 11:49 PM
Parents
rGd2d00d11be48: NFS O_EXCL file create semantics temporarily uses file attributes to store
Branches
Unknown
Tags
Unknown

Event Timeline