Commit 437eebf5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Really fix volume-change reporting through callbacks to rc-interface.

parent 19e1fd66
...@@ -92,6 +92,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume ) ...@@ -92,6 +92,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
config_PutInt( p_object, "volume", i_volume ); config_PutInt( p_object, "volume", i_volume );
val.b_bool = VLC_TRUE;
var_Set( p_object->p_vlc, "volume-change", val );
if ( p_aout == NULL ) return 0; if ( p_aout == NULL ) return 0;
vlc_mutex_lock( &p_aout->mixer_lock ); vlc_mutex_lock( &p_aout->mixer_lock );
...@@ -101,9 +104,7 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume ) ...@@ -101,9 +104,7 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
} }
vlc_mutex_unlock( &p_aout->mixer_lock ); vlc_mutex_unlock( &p_aout->mixer_lock );
val.b_bool = VLC_TRUE;
var_Set( p_aout, "intf-change", val ); var_Set( p_aout, "intf-change", val );
var_Set( p_aout->p_vlc, "volume-change", val );
vlc_object_release( p_aout ); vlc_object_release( p_aout );
return i_result; return i_result;
} }
......
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