[vlc-devel] commit: libvlc: disable audio mute on VolumeUp/Down (Francois Cartegnie )

git version control git at videolan.org
Sun Jan 10 14:51:33 CET 2010


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan  7 20:18:30 2010 +0100| [f870d44caf89f71e3142fc92b6cdd64df4feebe1] | committer: Rémi Denis-Courmont 

libvlc: disable audio mute on VolumeUp/Down

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f870d44caf89f71e3142fc92b6cdd64df4feebe1
---

 src/audio_output/intf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 9dfd027..118964c 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -132,6 +132,7 @@ 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 )
 {
+    aout_SetMute( p_object, pi_volume, false );
     const int i_volume_step = config_GetInt( p_object->p_libvlc, "volume-step" );
 
     int i_volume = config_GetInt( p_object, "volume" ) +




More information about the vlc-devel mailing list