From owner-cvs-all Thu Jan 11 15:26:36 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 3EC6437B402; Thu, 11 Jan 2001 15:26:17 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0BNQHE13620; Thu, 11 Jan 2001 15:26:17 -0800 (PST) (envelope-from jhb) Message-Id: <200101112326.f0BNQHE13620@freefall.freebsd.org> From: John Baldwin Date: Thu, 11 Jan 2001 15:26:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm datatypes.h mixer.c mixer.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/01/11 15:26:17 PST Modified files: sys/dev/sound/pcm datatypes.h mixer.c mixer.h Log: - Move all of the hwvol functions into a mixer_hwvol_* namespace, and make all of the hwvol members of struct snd_mixer live in a hwvol_* namespace. - When changing the mixer device via the hwvol_mixer sysctl, reset the muted state so that a mute operation on a new device won't try to unmute the new device with the old device's saved volume. - When the volume is muted, if a down or up volume request is received, first restore the saved volume level and then adjust it. Reviewed by: cg Revision Changes Path 1.22 +3 -3 src/sys/dev/sound/pcm/datatypes.h 1.16 +17 -11 src/sys/dev/sound/pcm/mixer.c 1.8 +4 -4 src/sys/dev/sound/pcm/mixer.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message