Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4ba623ec
Commit
4ba623ec
authored
Jul 09, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotkeys: change volume on playlist rather than interface
parent
3086d1af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/control/hotkeys.c
modules/control/hotkeys.c
+3
-3
No files found.
modules/control/hotkeys.c
View file @
4ba623ec
...
@@ -181,7 +181,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -181,7 +181,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
case
ACTIONID_VOL_UP
:
case
ACTIONID_VOL_UP
:
{
{
audio_volume_t
i_newvol
;
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
);
DisplayVolume
(
p_intf
,
p_vout
,
i_newvol
);
break
;
break
;
}
}
...
@@ -189,7 +189,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -189,7 +189,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
case
ACTIONID_VOL_DOWN
:
case
ACTIONID_VOL_DOWN
:
{
{
audio_volume_t
i_newvol
;
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
);
DisplayVolume
(
p_intf
,
p_vout
,
i_newvol
);
break
;
break
;
}
}
...
@@ -197,7 +197,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -197,7 +197,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
case
ACTIONID_VOL_MUTE
:
case
ACTIONID_VOL_MUTE
:
{
{
audio_volume_t
i_newvol
=
-
1
;
audio_volume_t
i_newvol
=
-
1
;
aout_ToggleMute
(
p_
intf
,
&
i_newvol
);
aout_ToggleMute
(
p_
playlist
,
&
i_newvol
);
if
(
p_vout
)
if
(
p_vout
)
{
{
if
(
i_newvol
==
0
)
if
(
i_newvol
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment