Date: Tue, 02 Jan 2001 17:42:32 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-all@FreeBSD.org Cc: cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/sound/pcm mixer.c mixer.h Message-ID: <XFMail.010102174232.jhb@FreeBSD.org> In-Reply-To: <200101030129.f031Tmd41851@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010102174232.jhb>