Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8629c53d
Commit
8629c53d
authored
Mar 10, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineaudioio.drv: Add DebugInfo to critical sections.
Also add missing DeleteCriticalSection.
parent
6c9acb67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
audio.c
dlls/wineaudioio.drv/audio.c
+5
-0
No files found.
dlls/wineaudioio.drv/audio.c
View file @
8629c53d
...
...
@@ -901,6 +901,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
wwo
->
msg_event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
memset
(
wwo
->
messages
,
0
,
sizeof
(
WWO_MSG
)
*
WWO_RING_BUFFER_SIZE
);
InitializeCriticalSection
(
&
wwo
->
msg_crst
);
wwo
->
msg_crst
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": WINE_WAVEOUT.msg_crst"
);
if
(
!
(
dwFlags
&
WAVE_DIRECTSOUND
))
{
TRACE
(
"Starting wodPlayer Thread
\n
"
);
...
...
@@ -953,6 +954,10 @@ static DWORD wodClose(WORD wDevID)
ret
=
WAVERR_STILLPLAYING
;
}
else
{
TRACE
(
"imhere[3-close]
\n
"
);
wwo
->
msg_crst
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
wwo
->
msg_crst
);
if
(
wwo
->
hEvent
!=
INVALID_HANDLE_VALUE
)
{
wodPlayer_Message
(
wwo
,
WINE_WM_CLOSING
,
0
);
WaitForSingleObject
(
wwo
->
hEvent
,
INFINITE
);
...
...
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