Commit 3086d1af authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gestures: change volume on playlist rather than interface

parent 604adb7a
...@@ -275,18 +275,18 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -275,18 +275,18 @@ static void RunIntf( intf_thread_t *p_intf )
case UP: case UP:
msg_Dbg(p_intf, "Louder"); msg_Dbg(p_intf, "Louder");
aout_VolumeUp( p_intf, 1, NULL ); aout_VolumeUp( p_playlist, 1, NULL );
break; break;
case DOWN: case DOWN:
msg_Dbg(p_intf, "Quieter"); msg_Dbg(p_intf, "Quieter");
aout_VolumeDown( p_intf, 1, NULL ); aout_VolumeDown( p_playlist, 1, NULL );
break; break;
case GESTURE(UP,DOWN,NONE,NONE): case GESTURE(UP,DOWN,NONE,NONE):
case GESTURE(DOWN,UP,NONE,NONE): case GESTURE(DOWN,UP,NONE,NONE):
msg_Dbg( p_intf, "Mute sound" ); msg_Dbg( p_intf, "Mute sound" );
aout_ToggleMute( p_intf, NULL ); aout_ToggleMute( p_playlist, NULL );
break; break;
case GESTURE(UP,RIGHT,NONE,NONE): case GESTURE(UP,RIGHT,NONE,NONE):
......
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