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
c63a9900
Commit
c63a9900
authored
Feb 20, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Force debug info in critical sections.
parent
8268d4e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
capture.c
dlls/dsound/capture.c
+1
-1
dsound.c
dlls/dsound/dsound.c
+1
-1
No files found.
dlls/dsound/capture.c
View file @
c63a9900
...
@@ -832,7 +832,7 @@ static HRESULT DirectSoundCaptureDevice_Create(
...
@@ -832,7 +832,7 @@ static HRESULT DirectSoundCaptureDevice_Create(
device
->
ref
=
1
;
device
->
ref
=
1
;
device
->
state
=
STATE_STOPPED
;
device
->
state
=
STATE_STOPPED
;
InitializeCriticalSection
(
&
(
device
->
lock
)
);
InitializeCriticalSection
Ex
(
&
(
device
->
lock
),
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
device
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": DirectSoundCaptureDevice.lock"
);
device
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": DirectSoundCaptureDevice.lock"
);
*
ppDevice
=
device
;
*
ppDevice
=
device
;
...
...
dlls/dsound/dsound.c
View file @
c63a9900
...
@@ -177,7 +177,7 @@ static HRESULT DirectSoundDevice_Create(DirectSoundDevice ** ppDevice)
...
@@ -177,7 +177,7 @@ static HRESULT DirectSoundDevice_Create(DirectSoundDevice ** ppDevice)
device
->
primary_pwfx
->
nAvgBytesPerSec
=
device
->
primary_pwfx
->
nSamplesPerSec
*
device
->
primary_pwfx
->
nBlockAlign
;
device
->
primary_pwfx
->
nAvgBytesPerSec
=
device
->
primary_pwfx
->
nSamplesPerSec
*
device
->
primary_pwfx
->
nBlockAlign
;
device
->
primary_pwfx
->
cbSize
=
0
;
device
->
primary_pwfx
->
cbSize
=
0
;
InitializeCriticalSection
(
&
(
device
->
mixlock
)
);
InitializeCriticalSection
Ex
(
&
(
device
->
mixlock
),
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
device
->
mixlock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": DirectSoundDevice.mixlock"
);
device
->
mixlock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": DirectSoundDevice.mixlock"
);
InitializeSRWLock
(
&
device
->
buffer_list_lock
);
InitializeSRWLock
(
&
device
->
buffer_list_lock
);
...
...
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