Commit 4ba623ec authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

hotkeys: change volume on playlist rather than interface

parent 3086d1af
......@@ -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 )
......
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