svn commit: r214332 - head/sys/dev/sound/pcm

Alexander Motin mav at FreeBSD.org
Mon Oct 25 08:25:44 UTC 2010


Author: mav
Date: Mon Oct 25 08:25:44 2010
New Revision: 214332
URL: http://svn.freebsd.org/changeset/base/214332

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

Modified:
  head/sys/dev/sound/pcm/channel.c

Modified: head/sys/dev/sound/pcm/channel.c
==============================================================================
--- head/sys/dev/sound/pcm/channel.c	Mon Oct 25 08:23:38 2010	(r214331)
+++ head/sys/dev/sound/pcm/channel.c	Mon Oct 25 08:25:44 2010	(r214332)
@@ -124,6 +124,7 @@ SYSCTL_INT(_hw_snd, OID_AUTO, vpc_autore
 	&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)


More information about the svn-src-head mailing list