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
4c4821e3
Commit
4c4821e3
authored
Mar 10, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Conform critical section DebugInfo names.
parent
ea363dc6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
buffer.c
dlls/dsound/buffer.c
+2
-2
capture.c
dlls/dsound/capture.c
+1
-1
dsound.c
dlls/dsound/dsound.c
+1
-1
No files found.
dlls/dsound/buffer.c
View file @
4c4821e3
...
...
@@ -1180,7 +1180,7 @@ HRESULT IDirectSoundBufferImpl_Create(
DSOUND_RecalcVolPan
(
&
(
dsb
->
volpan
));
InitializeCriticalSection
(
&
(
dsb
->
lock
));
dsb
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
"DSOUNDBUFFER_lock"
;
dsb
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
(
__FILE__
": IDirectSoundBufferImpl.lock"
)
;
/* register buffer if not primary */
if
(
!
(
dsbd
->
dwFlags
&
DSBCAPS_PRIMARYBUFFER
))
{
...
...
@@ -1319,7 +1319,7 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
CopyMemory
(
dsb
->
pwfx
,
pdsb
->
pwfx
,
size
);
InitializeCriticalSection
(
&
(
dsb
->
lock
));
dsb
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
"DSOUNDBUFFER_lock"
;
dsb
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
(
__FILE__
": IDirectSoundBufferImpl.lock"
)
;
/* register buffer */
hres
=
DirectSoundDevice_AddBuffer
(
device
,
dsb
);
...
...
dlls/dsound/capture.c
View file @
4c4821e3
...
...
@@ -1665,7 +1665,7 @@ static HRESULT DirectSoundCaptureDevice_Create(
device
->
state
=
STATE_STOPPED
;
InitializeCriticalSection
(
&
(
device
->
lock
)
);
device
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
"DSCAPTURE_lock"
;
device
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
(
__FILE__
": DirectSoundCaptureDevice.lock"
)
;
*
ppDevice
=
device
;
...
...
dlls/dsound/dsound.c
View file @
4c4821e3
...
...
@@ -1224,7 +1224,7 @@ static HRESULT DirectSoundDevice_Create(DirectSoundDevice ** ppDevice)
device
->
pwfx
->
cbSize
=
0
;
InitializeCriticalSection
(
&
(
device
->
mixlock
));
device
->
mixlock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
"DSOUND_mixlock"
;
device
->
mixlock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)
(
__FILE__
": DirectSoundDevice.mixlock"
)
;
RtlInitializeResource
(
&
(
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