[MPlayer-dev-eng] [PATCH] remember the volume in a playlist with all AOs

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 26 10:25:46 CET 2009


On Fri, Dec 25, 2009 at 02:14:58PM +0100, Stefano Pigozzi wrote:
> For more informations on this issue refer to 'making coreaudio ao remember
> the volume in a playlist' on the same mailing list. As suggested by Reimar
> in his reply I added this feature on a higher level (mplayer.c), so that
> other AOs different from coreaudio can benefit from the change.
> 
> I would like to get some feedback on what should be the default behaviour.
> With this patch mplayer will use the volume provided with the -volume
> command line parameter for the first file in the playlist and then use the
> volume saved from the previous file.

-volume should have preference, otherwise you break e.g. per-file config
files with -volume in it.
It also allows disabling this new feature by specifying -volume on the
commandline.
However, it might be a good idea to add a flag to the AOs so we don't do
this for AOs that also prefer it on their own, possible in a more
intelligent way (pulseaudio, to a degree OSS...).



More information about the MPlayer-dev-eng mailing list