]> git.sesse.net Git - vlc/commitdiff
gestures: change volume on playlist rather than interface
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Jul 2009 18:24:14 +0000 (21:24 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Jul 2009 18:25:11 +0000 (21:25 +0300)
modules/control/gestures.c

index 2f4b00353b222a8728aa7189f12c4f8ecd8e1596..75548a9a3f725392c68305f2fc9dcf095ece5545 100644 (file)
@@ -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):