Date: Wed, 27 Jun 2001 12:59:46 -0700 (PDT) From: Cameron Grant <cg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm vchan.c sound.c sound.h Message-ID: <200106271959.f5RJxkO65056@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cg 2001/06/27 12:59:46 PDT
Modified files:
sys/dev/sound/pcm vchan.c sound.c sound.h
Log:
don't flag the playback hardchan as busy on devices with only one of them.
if a device has vchans already but they are all busy, allocate another one
at open() time, up to a maximum of hw.snd.maxvchans.
when creating/destroying vchans, don't make/remove a devnode for the
first/last one as it replaces a hardchan.
Revision Changes Path
1.5 +11 -9 src/sys/dev/sound/pcm/vchan.c
1.56 +56 -9 src/sys/dev/sound/pcm/sound.c
1.37 +4 -4 src/sys/dev/sound/pcm/sound.h
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?200106271959.f5RJxkO65056>
