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
f5a4a9b6
Commit
f5a4a9b6
authored
May 04, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
May 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give the right ids to the DirectSoundCreate8 function (thanks to
Robert Reif).
parent
1279d9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
dsound_main.c
dlls/dsound/dsound_main.c
+2
-5
No files found.
dlls/dsound/dsound_main.c
View file @
f5a4a9b6
...
...
@@ -760,10 +760,7 @@ HRESULT WINAPI DirectSoundCreate8(LPCGUID lpcGUID,LPDIRECTSOUND8 *ppDS,IUnknown
setup_dsound_options
();
/* Default device? */
if
(
!
lpcGUID
||
IsEqualGUID
(
lpcGUID
,
&
GUID_NULL
)
||
IsEqualGUID
(
lpcGUID
,
&
IID_IDirectSound
)
||
IsEqualGUID
(
lpcGUID
,
&
IID_IDirectSound8
))
if
(
!
lpcGUID
||
IsEqualGUID
(
lpcGUID
,
&
GUID_NULL
))
lpcGUID
=
&
DSDEVID_DefaultPlayback
;
if
(
GetDeviceID
(
lpcGUID
,
&
devGuid
)
!=
DS_OK
)
{
...
...
@@ -959,7 +956,7 @@ static HRESULT WINAPI DSCF_CreateInstance(
if
(
IsEqualGUID
(
&
IID_IDirectSound
,
riid
)
||
IsEqualGUID
(
&
IID_IDirectSound8
,
riid
)
)
{
/* FIXME: reuse already created dsound if present? */
return
DirectSoundCreate8
(
riid
,(
LPDIRECTSOUND8
*
)
ppobj
,
pOuter
);
return
DirectSoundCreate8
(
0
,(
LPDIRECTSOUND8
*
)
ppobj
,
pOuter
);
}
if
(
IsEqualGUID
(
&
IID_IDirectSoundCapture
,
riid
)
||
IsEqualGUID
(
&
IID_IDirectSoundCapture8
,
riid
)
)
{
...
...
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