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

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


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

hotkeys: change volume on playlist rather than interface

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

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

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index f6cb257..ce0c34c 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -181,7 +181,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
         case ACTIONID_VOL_UP:
         {
             audio_volume_t i_newvol;
-            aout_VolumeUp( p_intf, 1, &i_newvol );
+            aout_VolumeUp( p_playlist, 1, &i_newvol );
             DisplayVolume( p_intf, p_vout, i_newvol );
             break;
         }
@@ -189,7 +189,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
         case ACTIONID_VOL_DOWN:
         {
             audio_volume_t i_newvol;
-            aout_VolumeDown( p_intf, 1, &i_newvol );
+            aout_VolumeDown( p_playlist, 1, &i_newvol );
             DisplayVolume( p_intf, p_vout, i_newvol );
             break;
         }
@@ -197,7 +197,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
         case ACTIONID_VOL_MUTE:
         {
             audio_volume_t i_newvol = -1;
-            aout_ToggleMute( p_intf, &i_newvol );
+            aout_ToggleMute( p_playlist, &i_newvol );
             if( p_vout )
             {
                 if( i_newvol == 0 )




More information about the vlc-devel mailing list