[MPlayer-dev-eng] new slave volume control command

j.a.l j.a.l at free.fr
Thu Aug 15 22:53:10 CEST 2002


Arpi wrote:
> Hi,
> 
> 
>>- i'm hacking on a frontend for mplayer ( namp ) and while including 
>>sound control, i've thought there is a slave command missing, one that 
>>set volume with static value, instead inc / dec ( what's little borring 
>>for front end with its own control ), like "set_volume <left> <right>".
>>
>>There're all functions already in mplayer ( mixer_setvolume, ... ), i 
>>could  do it kickly ( if not the job of anybody else... ), just tell me 
>>what release i must use ( 0.9pre6, cvs 0814... )
> 
> 
> cvs, always.
> 
> anyway teh 'standard' way of these relative vs absolute switches in mplayer
> to add an extra parameter to the command, a flag. by default it's zero,
> meaning that the command is relative (inc/dec). if you set it to 1, it means
> you passed absolute values.
> 
> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 

ok, so a good command would be : "volume <value> <flag 0|1>", where flag 
is optional., well, it's much better, now, anybody but me have an 
interest on that ???? ( i meen : i start coding or not ???, i'm little 
hurry )

A+




More information about the MPlayer-dev-eng mailing list