summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-10-25 08:25:44 +0000
committermav <mav@FreeBSD.org>2010-10-25 08:25:44 +0000
commit7844c829a46403931997ca16c550800610c96029 (patch)
tree9cfdd60d2dc936e5a75484306afcdf1d97324e82 /sys/dev/sound
parent00e9a82e783baffc8d3c982f7f3aa0408cf2adfb (diff)
downloadFreeBSD-src-7844c829a46403931997ca16c550800610c96029.zip
FreeBSD-src-7844c829a46403931997ca16c550800610c96029.tar.gz
Make hw.snd.vpc_0db to be also a loader tunable.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index ec7cb98..2b3b390 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -124,6 +124,7 @@ SYSCTL_INT(_hw_snd, OID_AUTO, vpc_autoreset, CTLFLAG_RW,
&chn_vpc_autoreset, 0, "automatically reset channels volume to 0db");
static int chn_vol_0db_pcm = SND_VOL_0DB_PCM;
+TUNABLE_INT("hw.snd.vpc_0db", &chn_vol_0db_pcm);
static void
chn_vpc_proc(int reset, int db)
OpenPOWER on IntegriCloud