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
80158557
Commit
80158557
authored
Jan 10, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make volume-change a void rather than a boolean
parent
6f396963
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/audio_output/intf.c
src/audio_output/intf.c
+1
-1
src/libvlc.c
src/libvlc.c
+1
-1
No files found.
src/audio_output/intf.c
View file @
80158557
...
@@ -153,7 +153,7 @@ int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
...
@@ -153,7 +153,7 @@ int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
}
}
/* trigger callbacks */
/* trigger callbacks */
var_
SetBool
(
p_object
->
p_libvlc
,
"volume-change"
,
true
);
var_
TriggerCallback
(
p_object
->
p_libvlc
,
"volume-change"
);
if
(
p_aout
)
var_SetBool
(
p_aout
,
"intf-change"
,
true
);
if
(
p_aout
)
var_SetBool
(
p_aout
,
"intf-change"
,
true
);
if
(
p_aout
)
if
(
p_aout
)
...
...
src/libvlc.c
View file @
80158557
...
@@ -858,7 +858,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
...
@@ -858,7 +858,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
*/
*/
/* Create volume callback system. (this variable must be created before
/* Create volume callback system. (this variable must be created before
all interfaces as they can use it) */
all interfaces as they can use it) */
var_Create
(
p_libvlc
,
"volume-change"
,
VLC_VAR_
BOOL
);
var_Create
(
p_libvlc
,
"volume-change"
,
VLC_VAR_
VOID
);
var_Create
(
p_libvlc
,
"volume-muted"
,
VLC_VAR_BOOL
);
var_Create
(
p_libvlc
,
"volume-muted"
,
VLC_VAR_BOOL
);
psz_modules
=
var_CreateGetNonEmptyString
(
p_libvlc
,
"extraintf"
);
psz_modules
=
var_CreateGetNonEmptyString
(
p_libvlc
,
"extraintf"
);
...
...
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