Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 15:49:03 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sound/pcm sound.c
Message-ID:  <200101042349.f04Nn3I31315@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/01/04 15:49:03 PST

  Modified files:
    sys/dev/sound/pcm    sound.c 
  Log:
  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
  
  Revision  Changes    Path
  1.33      +2 -2      src/sys/dev/sound/pcm/sound.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101042349.f04Nn3I31315>