[vlc-devel] [PATCH] macosx: save the right volume on exit
David Fuhrmann
david.fuhrmann at googlemail.com
Sun Jan 22 22:49:08 CET 2012
Another note on this topic:
It seems that we want to save the last volume which was set on exit. In current state, this is in conflict with the default volume settings in prefs. If you change something there, it will be ignored currently.
Best regards,
David
Am 22.01.2012 um 22:43 schrieb David Fuhrmann:
> ---
> modules/gui/macosx/MainWindow.m | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
> index ab273f0..674e615 100644
> --- a/modules/gui/macosx/MainWindow.m
> +++ b/modules/gui/macosx/MainWindow.m
> @@ -989,6 +989,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
>
> if( i_volume != i_lastShownVolume )
> {
> + i_lastShownVolume = i_volume;
> [o_volume_sld setIntValue: i_volume];
> [o_fspanel setVolumeLevel: i_volume];
> }
> --
> 1.7.5.4
>
More information about the vlc-devel
mailing list