Commit e10343bb authored by Ilkka Ollakka's avatar Ilkka Ollakka

set volume-change variable also in volumeUp/volumeDown, because it seemed that...

set volume-change variable also in volumeUp/volumeDown, because it seemed that when you change volume with that, it wasn't setted
parent 733d4d79
......@@ -170,6 +170,9 @@ int __aout_VolumeUp( vlc_object_t * p_object, int i_nb_steps,
(audio_volume_t) i_volume );
if ( pi_volume != NULL ) *pi_volume = (audio_volume_t) i_volume;
val.b_bool = VLC_TRUE;
var_Set( p_object->p_libvlc, "volume-change", val );
if ( p_aout == NULL ) return 0;
vlc_mutex_lock( &p_aout->mixer_lock );
......@@ -209,6 +212,9 @@ int __aout_VolumeDown( vlc_object_t * p_object, int i_nb_steps,
var_SetInteger( p_object->p_libvlc, "saved-volume", (audio_volume_t) i_volume );
if ( pi_volume != NULL ) *pi_volume = (audio_volume_t) i_volume;
val.b_bool = VLC_TRUE;
var_Set( p_object->p_libvlc, "volume-change", val );
if ( p_aout == NULL ) return 0;
vlc_mutex_lock( &p_aout->mixer_lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment