Commit 663e69a6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Make doVolumeChanges static

parent 1e2fab29
...@@ -151,9 +151,6 @@ int aout_VolumeSoftInfos( aout_instance_t *, audio_volume_t * ); ...@@ -151,9 +151,6 @@ int aout_VolumeSoftInfos( aout_instance_t *, audio_volume_t * );
int aout_VolumeNoneGet( aout_instance_t *, audio_volume_t * ); int aout_VolumeNoneGet( aout_instance_t *, audio_volume_t * );
int aout_VolumeNoneSet( aout_instance_t *, audio_volume_t ); int aout_VolumeNoneSet( aout_instance_t *, audio_volume_t );
int aout_VolumeNoneInfos( aout_instance_t *, audio_volume_t * ); int aout_VolumeNoneInfos( aout_instance_t *, audio_volume_t * );
int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
audio_volume_t i_volume, audio_volume_t * i_return_volume,
bool b_mute );
/* From dec.c */ /* From dec.c */
#define aout_DecNew(a, b, c, d, e) __aout_DecNew(VLC_OBJECT(a), b, c, d, e) #define aout_DecNew(a, b, c, d, e) __aout_DecNew(VLC_OBJECT(a), b, c, d, e)
......
...@@ -81,10 +81,12 @@ enum { ...@@ -81,10 +81,12 @@ enum {
INCREMENT_VOLUME=4, INCREMENT_VOLUME=4,
TOGGLE_MUTE=8 TOGGLE_MUTE=8
}; };
/***************************************************************************** /*****************************************************************************
* doVolumeChanges : handle all volume changes. Internal use only to ease * doVolumeChanges : handle all volume changes. Internal use only to ease
* variables locking. * variables locking.
*****************************************************************************/ *****************************************************************************/
static
int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps, int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
audio_volume_t i_volume, audio_volume_t * i_return_volume, audio_volume_t i_volume, audio_volume_t * i_return_volume,
bool b_mute ) bool b_mute )
......
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