[vlc-devel] commit: gestures: change volume on playlist rather than interface ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jul 9 20:25:24 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  9 21:24:14 2009 +0300| [3086d1afd24d968e65251037c8d3eb56309f159b] | committer: Rémi Denis-Courmont 

gestures: change volume on playlist rather than interface

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

 modules/control/gestures.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/control/gestures.c b/modules/control/gestures.c
index 2f4b003..75548a9 100644
--- a/modules/control/gestures.c
+++ b/modules/control/gestures.c
@@ -275,18 +275,18 @@ static void RunIntf( intf_thread_t *p_intf )
 
             case UP:
                 msg_Dbg(p_intf, "Louder");
-                aout_VolumeUp( p_intf, 1, NULL );
+                aout_VolumeUp( p_playlist, 1, NULL );
                 break;
 
             case DOWN:
                 msg_Dbg(p_intf, "Quieter");
-                aout_VolumeDown( p_intf, 1, NULL );
+                aout_VolumeDown( p_playlist, 1, NULL );
                 break;
 
             case GESTURE(UP,DOWN,NONE,NONE):
             case GESTURE(DOWN,UP,NONE,NONE):
                 msg_Dbg( p_intf, "Mute sound" );
-                aout_ToggleMute( p_intf, NULL );
+                aout_ToggleMute( p_playlist, NULL );
                 break;
 
             case GESTURE(UP,RIGHT,NONE,NONE):




More information about the vlc-devel mailing list