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
437eebf5
Commit
437eebf5
authored
Nov 14, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really fix volume-change reporting through callbacks to rc-interface.
parent
19e1fd66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/audio_output/intf.c
src/audio_output/intf.c
+3
-2
No files found.
src/audio_output/intf.c
View file @
437eebf5
...
@@ -92,6 +92,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
...
@@ -92,6 +92,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
config_PutInt
(
p_object
,
"volume"
,
i_volume
);
config_PutInt
(
p_object
,
"volume"
,
i_volume
);
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_object
->
p_vlc
,
"volume-change"
,
val
);
if
(
p_aout
==
NULL
)
return
0
;
if
(
p_aout
==
NULL
)
return
0
;
vlc_mutex_lock
(
&
p_aout
->
mixer_lock
);
vlc_mutex_lock
(
&
p_aout
->
mixer_lock
);
...
@@ -101,9 +104,7 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
...
@@ -101,9 +104,7 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
}
}
vlc_mutex_unlock
(
&
p_aout
->
mixer_lock
);
vlc_mutex_unlock
(
&
p_aout
->
mixer_lock
);
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_aout
,
"intf-change"
,
val
);
var_Set
(
p_aout
,
"intf-change"
,
val
);
var_Set
(
p_aout
->
p_vlc
,
"volume-change"
,
val
);
vlc_object_release
(
p_aout
);
vlc_object_release
(
p_aout
);
return
i_result
;
return
i_result
;
}
}
...
...
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