[MPlayer-dev-eng] new slave volume control command
Arpi
arpi at thot.banki.hu
Thu Aug 15 16:50:54 CEST 2002
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
More information about the MPlayer-dev-eng
mailing list