From owner-cvs-all Wed Jun 27 12:59:49 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 42FC537B401; Wed, 27 Jun 2001 12:59:46 -0700 (PDT) (envelope-from cg@FreeBSD.org) Received: (from cg@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5RJxkO65056; Wed, 27 Jun 2001 12:59:46 -0700 (PDT) (envelope-from cg) Message-Id: <200106271959.f5RJxkO65056@freefall.freebsd.org> From: Cameron Grant Date: Wed, 27 Jun 2001 12:59:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm vchan.c sound.c sound.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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