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
17f94ab5
Commit
17f94ab5
authored
Feb 13, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Force debug info in critical sections.
parent
bbe1c753
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
synth.c
dlls/dmsynth/synth.c
+1
-1
synthsink.c
dlls/dmsynth/synthsink.c
+1
-1
No files found.
dlls/dmsynth/synth.c
View file @
17f94ab5
...
@@ -1992,7 +1992,7 @@ HRESULT synth_create(IUnknown **ret_iface)
...
@@ -1992,7 +1992,7 @@ HRESULT synth_create(IUnknown **ret_iface)
goto
failed
;
goto
failed
;
fluid_sfont_set_data
(
obj
->
fluid_sfont
,
obj
);
fluid_sfont_set_data
(
obj
->
fluid_sfont
,
obj
);
InitializeCriticalSection
(
&
obj
->
cs
);
InitializeCriticalSection
Ex
(
&
obj
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
obj
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
obj
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
TRACE
(
"Created DirectMusicSynth %p
\n
"
,
obj
);
TRACE
(
"Created DirectMusicSynth %p
\n
"
,
obj
);
...
...
dlls/dmsynth/synthsink.c
View file @
17f94ab5
...
@@ -754,7 +754,7 @@ HRESULT synth_sink_create(IUnknown **ret_iface)
...
@@ -754,7 +754,7 @@ HRESULT synth_sink_create(IUnknown **ret_iface)
obj
->
ref
=
1
;
obj
->
ref
=
1
;
obj
->
stop_event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
obj
->
stop_event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
InitializeCriticalSection
(
&
obj
->
cs
);
InitializeCriticalSection
Ex
(
&
obj
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
obj
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
obj
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
TRACE
(
"Created DirectMusicSynthSink %p
\n
"
,
obj
);
TRACE
(
"Created DirectMusicSynthSink %p
\n
"
,
obj
);
...
...
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