[MPlayer-dev-eng] [PATCH] making coreaudio ao remember the volume in a playlist
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Dec 21 07:32:58 CET 2009
On Sun, Dec 20, 2009 at 08:22:28PM +0100, Stefano Pigozzi wrote:
> This patch makes the coreaudio audio output remember the volume when
> changing audio unit. This is particularly handy when playing a playlist, or
> using ordered chapters unofficial patches: without the patch the coreaudio
> ao will change the volume to 1/4 of the maximum (thats the coreaudio ao
> default) each time a new file in the playlist starts.
>
> The volume is saved in a static variable before the audio unit
> uninitialization and restored just after the initialization of a new one.
If this is wanted I really think it should be done on the higher level
so it works for all AOs.
However, your specific issue should be fixed by just adding -volume 100
as first option on the command-line.
More information about the MPlayer-dev-eng
mailing list