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
bab5279d
Commit
bab5279d
authored
Mar 10, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Add DebugInfo to critical sections.
parent
8629c53d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
audio.c
dlls/wineoss.drv/audio.c
+2
-1
No files found.
dlls/wineoss.drv/audio.c
View file @
bab5279d
...
...
@@ -1230,7 +1230,7 @@ static int OSS_InitRingMessage(OSS_MSG_RING* omr)
omr
->
ring_buffer_size
=
OSS_RING_BUFFER_INCREMENT
;
omr
->
messages
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
omr
->
ring_buffer_size
*
sizeof
(
OSS_MSG
));
InitializeCriticalSection
(
&
omr
->
msg_crst
);
omr
->
msg_crst
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
"WINEOSS_msg_crst"
;
omr
->
msg_crst
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
(
__FILE__
": OSS_MSG_RING.msg_crst"
)
;
return
0
;
}
...
...
@@ -1247,6 +1247,7 @@ static int OSS_DestroyRingMessage(OSS_MSG_RING* omr)
CloseHandle
(
omr
->
msg_event
);
#endif
HeapFree
(
GetProcessHeap
(),
0
,
omr
->
messages
);
omr
->
msg_crst
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
omr
->
msg_crst
);
return
0
;
}
...
...
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