Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7ef15a60
Commit
7ef15a60
authored
Aug 06, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Aug 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds debug name to remaining critical sections.
parent
e82dfab2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
buffer.c
dlls/dsound/buffer.c
+1
-0
capture.c
dlls/dsound/capture.c
+2
-0
dsound.c
dlls/dsound/dsound.c
+1
-0
No files found.
dlls/dsound/buffer.c
View file @
7ef15a60
...
...
@@ -1191,6 +1191,7 @@ HRESULT WINAPI IDirectSoundBufferImpl_Create(
DSOUND_RecalcVolPan
(
&
(
dsb
->
volpan
));
InitializeCriticalSection
(
&
(
dsb
->
lock
));
dsb
->
lock
.
DebugInfo
->
Spare
[
1
]
=
(
DWORD
)
"DSOUNDBUFFER_lock"
;
/* register buffer */
RtlAcquireResourceExclusive
(
&
(
ds
->
lock
),
TRUE
);
...
...
dlls/dsound/capture.c
View file @
7ef15a60
...
...
@@ -147,6 +147,7 @@ DirectSoundCaptureCreate8(
This
->
state
=
STATE_STOPPED
;
InitializeCriticalSection
(
&
(
This
->
lock
)
);
This
->
lock
.
DebugInfo
->
Spare
[
1
]
=
(
DWORD
)
"DSCAPTURE_lock"
;
This
->
lpVtbl
=
&
dscvt
;
dsound_capture
=
This
;
...
...
@@ -1746,6 +1747,7 @@ DirectSoundFullDuplexCreate(
This
->
lpVtbl
=
&
dsfdvt
;
InitializeCriticalSection
(
&
(
This
->
lock
)
);
This
->
lock
.
DebugInfo
->
Spare
[
1
]
=
(
DWORD
)
"DSDUPLEX_lock"
;
hres
=
IDirectSoundFullDuplexImpl_Initialize
(
(
LPDIRECTSOUNDFULLDUPLEX
)
This
,
pcGuidCaptureDevice
,
pcGuidRenderDevice
,
...
...
dlls/dsound/dsound.c
View file @
7ef15a60
...
...
@@ -555,6 +555,7 @@ static HRESULT WINAPI IDirectSoundImpl_DuplicateSoundBuffer(
dsb
->
dsb
=
NULL
;
memcpy
(
&
(
dsb
->
wfx
),
&
(
pdsb
->
wfx
),
sizeof
(
dsb
->
wfx
));
InitializeCriticalSection
(
&
(
dsb
->
lock
));
dsb
->
lock
.
DebugInfo
->
Spare
[
1
]
=
(
DWORD
)
"DSOUNDBUFFER_lock"
;
/* register buffer */
RtlAcquireResourceExclusive
(
&
(
This
->
lock
),
TRUE
);
{
...
...
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