From owner-cvs-all Tue Jan 2 17:42:33 2001 From owner-cvs-all@FreeBSD.ORG Tue Jan 2 17:42:26 2001 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 4A94A37B400; Tue, 2 Jan 2001 17:42:25 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f031g5G09216; Tue, 2 Jan 2001 17:42:05 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200101030129.f031Tmd41851@freefall.freebsd.org> Date: Tue, 02 Jan 2001 17:42:32 -0800 (PST) From: John Baldwin To: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/sound/pcm mixer.c mixer.h Cc: cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 03-Jan-01 John Baldwin wrote: > jhb 2001/01/02 17:29:48 PST > > Modified files: > sys/dev/sound/pcm mixer.c mixer.h > Log: > Add a new API for soundcards that have hardware volume control: > - The mixer_hwmute() function can be called when a soundcard receives a > mute request. > - The mixer_hwstep() function can be used to adjust the volume of one or > both channels. > - The 'hw.snd.hwvol_step' sysctl determines the amount that mixer_hwstep() > adjusts the volume by on each call. > - The 'hw.snd.hwvol_mixer' sysctl specifies the mixer device to adjust the > volume on for both functions. The values used correspond to the > SOUNDCARD_MIXER_* constants. Forgot: Reviewed by: cg -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message