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
1ec3a526
Commit
1ec3a526
authored
Feb 01, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectSound: do not disable thread cancellation
The thread is never cancelled anyway.
parent
9eb9a10e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/audio_output/directx.c
modules/audio_output/directx.c
+0
-2
No files found.
modules/audio_output/directx.c
View file @
1ec3a526
...
@@ -992,7 +992,6 @@ static void* DirectSoundThread( void *data )
...
@@ -992,7 +992,6 @@ static void* DirectSoundThread( void *data )
audio_output_t
*
p_aout
=
(
audio_output_t
*
)
data
;
audio_output_t
*
p_aout
=
(
audio_output_t
*
)
data
;
notification_thread_t
*
p_notif
=
&
p_aout
->
sys
->
notif
;
notification_thread_t
*
p_notif
=
&
p_aout
->
sys
->
notif
;
mtime_t
last_time
;
mtime_t
last_time
;
int
canc
=
vlc_savecancel
();
msg_Dbg
(
p_aout
,
"DirectSoundThread ready"
);
msg_Dbg
(
p_aout
,
"DirectSoundThread ready"
);
...
@@ -1082,7 +1081,6 @@ static void* DirectSoundThread( void *data )
...
@@ -1082,7 +1081,6 @@ static void* DirectSoundThread( void *data )
/* make sure the buffer isn't playing */
/* make sure the buffer isn't playing */
IDirectSoundBuffer_Stop
(
p_aout
->
sys
->
p_dsbuffer
);
IDirectSoundBuffer_Stop
(
p_aout
->
sys
->
p_dsbuffer
);
vlc_restorecancel
(
canc
);
msg_Dbg
(
p_aout
,
"DirectSoundThread exiting"
);
msg_Dbg
(
p_aout
,
"DirectSoundThread exiting"
);
return
NULL
;
return
NULL
;
}
}
...
...
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