aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-10-25 08:25:44 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-10-25 08:25:44 +0000
commit6ea7128dbd790d27a7154518249ed760054b2f44 (patch)
tree9cfdd60d2dc936e5a75484306afcdf1d97324e82 /sys/dev/sound/pcm
parent5b9392e840d9dcfc112c8c2ea125efb9bfb01ef4 (diff)
downloadsrc-6ea7128dbd790d27a7154518249ed760054b2f44.tar.gz
src-6ea7128dbd790d27a7154518249ed760054b2f44.zip
Make hw.snd.vpc_0db to be also a loader tunable.
Notes
Notes: svn path=/head/; revision=214332
Diffstat (limited to 'sys/dev/sound/pcm')
-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 ec7cb9802ac8..2b3b3904c678 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)