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
14a7c6dd
Commit
14a7c6dd
authored
Mar 17, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Mar 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused lock.
parent
919605c8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
dsound_main.c
dlls/dsound/dsound_main.c
+0
-3
dsound_private.h
dlls/dsound/dsound_private.h
+0
-1
sound3d.c
dlls/dsound/sound3d.c
+0
-2
No files found.
dlls/dsound/dsound_main.c
View file @
14a7c6dd
...
...
@@ -793,7 +793,6 @@ static ULONG WINAPI IDirectSoundImpl_Release(LPDIRECTSOUND8 iface) {
RtlDeleteResource
(
&
This
->
lock
);
DeleteCriticalSection
(
&
This
->
mixlock
);
DeleteCriticalSection
(
&
This
->
ds3dl_lock
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
dsound
=
NULL
;
TRACE
(
"(%p) released
\n
"
,
This
);
...
...
@@ -1050,8 +1049,6 @@ HRESULT WINAPI DirectSoundCreate8(LPCGUID lpcGUID,LPDIRECTSOUND8 *ppDS,IUnknown
(
*
ippDS
)
->
ds3dl
.
flRolloffFactor
=
DS3D_DEFAULTROLLOFFFACTOR
;
(
*
ippDS
)
->
ds3dl
.
flDopplerFactor
=
DS3D_DEFAULTDOPPLERFACTOR
;
InitializeCriticalSection
(
&
(
*
ippDS
)
->
ds3dl_lock
);
(
*
ippDS
)
->
prebuf
=
ds_snd_queue_max
;
(
*
ippDS
)
->
guid
=
devGuid
;
...
...
dlls/dsound/dsound_private.h
View file @
14a7c6dd
...
...
@@ -94,7 +94,6 @@ struct IDirectSoundImpl
/* DirectSound3DListener fields */
IDirectSound3DListenerImpl
*
listener
;
DS3DLISTENER
ds3dl
;
CRITICAL_SECTION
ds3dl_lock
;
BOOL
ds3dl_need_recalc
;
};
...
...
dlls/dsound/sound3d.c
View file @
14a7c6dd
...
...
@@ -1134,8 +1134,6 @@ HRESULT WINAPI IDirectSound3DListenerImpl_Create(
dsl
->
dsound
->
ds3dl_need_recalc
=
TRUE
;
InitializeCriticalSection
(
&
dsl
->
dsound
->
ds3dl_lock
);
IDirectSound8_AddRef
((
LPDIRECTSOUND8
)
This
->
dsound
);
*
pdsl
=
dsl
;
...
...
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