Volume control in mplayer resetting 50% when starting / stopping video clips

Antonio Olivares olivares14031 at gmail.com
Fri Sep 30 01:33:47 UTC 2011


> try 'sysctl hw.snd.vpc_autoreset=0'.
>
Question,

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

[olivares at 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


More information about the freebsd-questions mailing list