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
431a483e
Commit
431a483e
authored
Feb 16, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2: Force debug info in critical sections.
parent
5e3cc883
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xaudio_dll.c
dlls/xaudio2_7/xaudio_dll.c
+3
-3
No files found.
dlls/xaudio2_7/xaudio_dll.c
View file @
431a483e
...
...
@@ -1566,7 +1566,7 @@ static inline XA2VoiceImpl *create_voice(IXAudio2Impl *This)
voice
->
IXAudio2SubmixVoice_iface
.
lpVtbl
=
&
XAudio2SubmixVoice_Vtbl
;
voice
->
FAudioVoiceCallback_vtbl
=
FAudioVoiceCallback_Vtbl
;
InitializeCriticalSection
(
&
voice
->
lock
);
InitializeCriticalSection
Ex
(
&
voice
->
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
voice
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": XA2VoiceImpl.lock"
);
return
voice
;
...
...
@@ -1900,10 +1900,10 @@ static HRESULT WINAPI XAudio2CF_CreateInstance(IClassFactory *iface, IUnknown *p
list_init
(
&
object
->
voices
);
InitializeCriticalSection
(
&
object
->
lock
);
InitializeCriticalSection
Ex
(
&
object
->
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IXAudio2Impl.lock"
);
InitializeCriticalSection
(
&
object
->
mst
.
lock
);
InitializeCriticalSection
Ex
(
&
object
->
mst
.
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
mst
.
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": XA2MasteringVoice.lock"
);
FAudioCOMConstructWithCustomAllocatorEXT
(
...
...
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