sound: Retire unused hw.snd.vpc_mixer_bypass

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Pull Request:	https://ron-dev.freebsd.org/FreeBSD/src/pulls/18
This commit is contained in:
Christos Margiolis
2026-04-16 13:25:20 +02:00
parent f61e65e1b2
commit 8e804f3dd6
2 changed files with 0 additions and 14 deletions
-9
View File
@@ -407,15 +407,6 @@ When a channel is closed the channel volume will be reset to 0db.
This means that any changes to the volume will be lost.
Enabling this will preserve the volume, at the cost of possible confusion
when applications tries to re-open the same device.
.It Va hw.snd.vpc_mixer_bypass
The recommended way to use the VPC feature is to teach applications to use the
correct
.Fn ioctl :
.Dv SNDCTL_DSP_GETPLAYVOL , SNDCTL_DSP_SETPLAYVOL ,
.Dv SNDCTL_DSP_SETRECVOL , SNDCTL_DSP_SETRECVOL .
This is however not always possible.
Enable this to allow applications to use their own existing mixer logic
to control their own channel volume.
.It Va hw.snd.vpc_reset
Enable to restore all channel volumes back to the default value of 0db.
.It Va dev.pcm.%d.bitperfect
-5
View File
@@ -37,11 +37,6 @@
#include "feeder_if.h"
#include "mixer_if.h"
static int mixer_bypass = 1;
SYSCTL_INT(_hw_snd, OID_AUTO, vpc_mixer_bypass, CTLFLAG_RWTUN,
&mixer_bypass, 0,
"control channel pcm/rec volume, bypassing real mixer device");
#define MIXER_NAMELEN 16
struct snd_mixer {
KOBJ_FIELDS;