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
d30dafa1
Commit
d30dafa1
authored
Mar 04, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.speech: Force debug info in critical sections.
parent
84cb3155
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
async.c
dlls/windows.media.speech/async.c
+2
-2
recognizer.c
dlls/windows.media.speech/recognizer.c
+1
-1
No files found.
dlls/windows.media.speech/async.c
View file @
d30dafa1
...
@@ -366,7 +366,7 @@ HRESULT async_action_create( IInspectable *invoker, async_action_callback callba
...
@@ -366,7 +366,7 @@ HRESULT async_action_create( IInspectable *invoker, async_action_callback callba
if
(
invoker
)
IInspectable_AddRef
((
impl
->
invoker
=
invoker
));
if
(
invoker
)
IInspectable_AddRef
((
impl
->
invoker
=
invoker
));
InitializeCriticalSection
(
&
impl
->
cs
);
InitializeCriticalSection
Ex
(
&
impl
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
impl
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": async_action.cs"
);
impl
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": async_action.cs"
);
/* AddRef to keep the obj alive in the callback. */
/* AddRef to keep the obj alive in the callback. */
...
@@ -745,7 +745,7 @@ HRESULT async_operation_inspectable_create( const GUID *iid,
...
@@ -745,7 +745,7 @@ HRESULT async_operation_inspectable_create( const GUID *iid,
if
(
invoker
)
IInspectable_AddRef
((
impl
->
invoker
=
invoker
));
if
(
invoker
)
IInspectable_AddRef
((
impl
->
invoker
=
invoker
));
InitializeCriticalSection
(
&
impl
->
cs
);
InitializeCriticalSection
Ex
(
&
impl
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
impl
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": async_operation.cs"
);
impl
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": async_operation.cs"
);
/* AddRef to keep the obj alive in the callback. */
/* AddRef to keep the obj alive in the callback. */
...
...
dlls/windows.media.speech/recognizer.c
View file @
d30dafa1
...
@@ -1126,7 +1126,7 @@ static HRESULT WINAPI recognizer_factory_Create( ISpeechRecognizerFactory *iface
...
@@ -1126,7 +1126,7 @@ static HRESULT WINAPI recognizer_factory_Create( ISpeechRecognizerFactory *iface
if
(
FAILED
(
hr
=
recognizer_factory_create_audio_capture
(
session
)))
if
(
FAILED
(
hr
=
recognizer_factory_create_audio_capture
(
session
)))
goto
error
;
goto
error
;
InitializeCriticalSection
(
&
session
->
cs
);
InitializeCriticalSection
Ex
(
&
session
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
session
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": recognition_session.cs"
);
session
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": recognition_session.cs"
);
/* Init ISpeechRecognizer */
/* Init ISpeechRecognizer */
...
...
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