[mythtv-users] OT: mplayer volume control
Michael T. Dean
mtdean at thirdcontact.com
Sat Mar 25 18:15:38 UTC 2006
On 03/24/2006 03:23 PM, Bryan Halter wrote:
> In my setup I have mplayer playing 6 channel encoded DVDs through
> Logitech speakers through the 3 audio jacks at the back of the system.
> When I adjust the volume in mplayer I only get an adjustment to the PCM
> volume not to the Surround/Center/LFE controls in alsamixer. Is there a
> way to have the volume + - buttons on my remote change all 4 sliders?
> Adjusting the master level doesn't seem to change anything except the
> sound coming from the 2 front channels either. My mplayer is using
> ao=alsa channels=6. This is a NForce2 based system with what seems to
> be a decent .asoundrc.
Not a configuration problem. Many ALSA drivers do this (on purpose).
The Master controls do not affect surround channels.
If you want to control volume on multiple channels, you'll probably need
to use an external program/script, such as the attached. You can
configure it to be called with irexec:
begin
prog = irexec
button = volume-up
config = /path/to/volume.sh up &
repeat = 2
end
begin
prog = irexec
button = volume-down
config = /path/to/volume.sh down &
repeat = 2
end
begin
prog = irexec
button = mute
config = /path/to/volume.sh mute &
config = /path/to/volume.sh unmute &
repeat = 0
end
Mike
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: volume.sh
Url: http://mythtv.org/pipermail/mythtv-users/attachments/20060325/10b034de/attachment.diff
More information about the mythtv-users
mailing list