Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4fe0627f
Commit
4fe0627f
authored
Mar 30, 2010
by
Francois Cartegnie
Committed by
Rémi Denis-Courmont
Mar 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio_intf: fix initial value on increment (fixes #3482)
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
17638ecf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/audio_output/intf.c
src/audio_output/intf.c
+5
-3
No files found.
src/audio_output/intf.c
View file @
4fe0627f
...
...
@@ -106,12 +106,14 @@ int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
b_var_mute
=
var_GetBool
(
p_object
,
"volume-muted"
);
const
bool
b_unmute_condition
=
(
/* Also unmute on increments */
const
bool
b_unmute_condition
=
(
b_var_mute
&&
(
/* Unmute: on increments */
(
action
==
INCREMENT_VOLUME
)
||
/* On explicit unmute */
(
(
action
==
SET_MUTE
)
&&
(
b_var_mute
&&
!
b_mute
)
)
(
(
action
==
SET_MUTE
)
&&
!
b_mute
)
||
/* On toggle from muted */
(
(
action
==
TOGGLE_MUTE
)
&&
b_var_mute
)
);
(
action
==
TOGGLE_MUTE
)
));
const
bool
b_mute_condition
=
(
!
b_var_mute
&&
(
/* explicit */
...
...
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