Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

OT: mplayer volume control

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


bhalter at armyofpenguins

Mar 24, 2006, 12:23 PM

Post #1 of 2 (1367 views)
Permalink
OT: mplayer volume control

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.

Any help will be appreciated

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Mar 25, 2006, 10:15 AM

Post #2 of 2 (1269 views)
Permalink
Re: OT: mplayer volume control [In reply to]

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
Attachments: volume.sh (2.91 KB)

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.