[vlc-devel] [PATCH 3/3] libvlc: disable audio mute on VolumeUp/Down
Francois Cartegnie
fcvlcdev at free.fr
Tue Jan 5 18:01:54 CET 2010
---
src/audio_output/intf.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index b7b24aa..902d57b 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -132,7 +132,8 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
int __aout_VolumeUp( vlc_object_t * p_object, int i_nb_steps,
audio_volume_t * pi_volume )
{
-
+ if ( __aout_IsMuted( p_object ) )
+ __aout_ToggleMute( p_object, pi_volume );
const int i_volume_step = config_GetInt( p_object->p_libvlc, "volume-step" );
int i_volume = config_GetInt( p_object, "volume" ) +
--
1.6.4.4
More information about the vlc-devel
mailing list