Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2010 08:25:44 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214332 - head/sys/dev/sound/pcm
Message-ID:  <201010250825.o9P8PiqJ056916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010250825.o9P8PiqJ056916>