Make hw.snd.vpc_0db to be also a loader tunable.

This commit is contained in:
Alexander Motin 2010-10-25 08:25:44 +00:00
parent 5b9392e840
commit 6ea7128dbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214332

View file

@ -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)