Date: Tue, 2 Jan 2001 17:29:48 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm mixer.c mixer.h Message-ID: <200101030129.f031Tmd41851@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. Revision Changes Path 1.14 +37 -1 src/sys/dev/sound/pcm/mixer.c 1.6 +4 -1 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101030129.f031Tmd41851>