Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 20:33:45 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        Polytropon <freebsd@edvax.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Volume control in mplayer resetting 50% when starting / stopping video clips
Message-ID:  <CAJ5UdcOEvmCu86xKVz52WjuTffQsyGu-=jMLBgbFnC=ope=6Bg@mail.gmail.com>
In-Reply-To: <20110929172748.GA6639@freebsd.org>
References:  <20110929062327.e2540d4b.freebsd@edvax.de> <20110929172748.GA6639@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> try 'sysctl hw.snd.vpc_autoreset=0'.
>
Question,

On one of my home machines, I have mixer pcm & vol set to 100% :

[olivares@tricorehome /usr/home/olivares]$ mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer rec      is currently set to  81:81
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to  50:50
Mixer monitor  is currently set to  75:75
Recording source: mic

in /boot/device.hints

hint.pcm.0.vol="100"
hint.pcm.1.vol="100"
hint.pcm.2.vol="100"

But when I play with mplayer, the pcm setting is at 48%

I then increase the sound level by using the (*) key to increase it
and the (/) key to lower it.  I had reason to believe that once I
would set up the sound using /boot/device.hints, it would be (set in
stone) forever, but on starting up the system, mplayer puts it back at
48%.

Will the systcl hw.snd.vpc autoreset=0 command cure this illness as well?

If it does, do I add it to /boot/device.hints?  and it is a done deal!
or no deal! :(

I have always wanted to ask but was not sure it it was freebsd or
mplayer's configuration.

Regards,

Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcOEvmCu86xKVz52WjuTffQsyGu-=jMLBgbFnC=ope=6Bg>