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
e05d34f1
Commit
e05d34f1
authored
Mar 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pulse: fix warning
parent
7fb17601
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+2
-2
No files found.
modules/audio_output/pulse.c
View file @
e05d34f1
...
@@ -338,7 +338,6 @@ static void Close ( vlc_object_t *p_this )
...
@@ -338,7 +338,6 @@ static void Close ( vlc_object_t *p_this )
msg_Dbg
(
p_aout
,
"Pulse Close"
);
msg_Dbg
(
p_aout
,
"Pulse Close"
);
if
(
p_sys
->
stream
){
if
(
p_sys
->
stream
){
pa_operation
*
o
;
pa_threaded_mainloop_lock
(
p_sys
->
mainloop
);
pa_threaded_mainloop_lock
(
p_sys
->
mainloop
);
pa_stream_set_write_callback
(
p_sys
->
stream
,
NULL
,
NULL
);
pa_stream_set_write_callback
(
p_sys
->
stream
,
NULL
,
NULL
);
...
@@ -347,7 +346,8 @@ static void Close ( vlc_object_t *p_this )
...
@@ -347,7 +346,8 @@ static void Close ( vlc_object_t *p_this )
* And disabling this speeds up closing pulseaudio quite a lot (atleast for me).
* And disabling this speeds up closing pulseaudio quite a lot (atleast for me).
*/
*/
#if 0
#if 0
if((o = pa_stream_drain(p_sys->stream, success_cb, p_aout))){
pa_operation *o = pa_stream_drain(p_sys->stream, success_cb, p_aout);
if(o){
while (pa_operation_get_state(o) != PA_OPERATION_DONE) {
while (pa_operation_get_state(o) != PA_OPERATION_DONE) {
CHECK_DEAD_GOTO(fail);
CHECK_DEAD_GOTO(fail);
pa_threaded_mainloop_wait(p_sys->mainloop);
pa_threaded_mainloop_wait(p_sys->mainloop);
...
...
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