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
9c88bd8d
Commit
9c88bd8d
authored
Feb 15, 2010
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Feb 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Test querying for KsPropertySet on primary buffer.
parent
d00f0316
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
ds3d.c
dlls/dsound/tests/ds3d.c
+11
-2
No files found.
dlls/dsound/tests/ds3d.c
View file @
9c88bd8d
...
...
@@ -1158,13 +1158,12 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
"to create a 3D primary buffer: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
primary
!=
NULL
)
{
LPDIRECTSOUND3DLISTENER
listener
=
NULL
;
LPDIRECTSOUNDBUFFER
temp_buffer
=
NULL
;
rc
=
IDirectSoundBuffer_QueryInterface
(
primary
,
&
IID_IDirectSound3DListener
,(
void
**
)
&
listener
);
ok
(
rc
==
DS_OK
&&
listener
!=
NULL
,
"IDirectSoundBuffer_QueryInterface() "
"failed to get a 3D listener: %08x
\n
"
,
rc
);
if
(
rc
==
DS_OK
&&
listener
!=
NULL
)
{
LPDIRECTSOUNDBUFFER
temp_buffer
=
NULL
;
/* Checking the COM interface */
rc
=
IDirectSoundBuffer_QueryInterface
(
primary
,
&
IID_IDirectSoundBuffer
,(
LPVOID
*
)
&
temp_buffer
);
...
...
@@ -1213,6 +1212,16 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
"references, should have 0
\n
"
,
ref
);
}
todo_wine
{
temp_buffer
=
NULL
;
rc
=
IDirectSoundBuffer_QueryInterface
(
primary
,
&
IID_IKsPropertySet
,(
LPVOID
*
)
&
temp_buffer
);
ok
(
rc
==
DS_OK
&&
temp_buffer
!=
NULL
,
"IDirectSoundBuffer_QueryInterface didn't handle IKsPropertySet on primary buffer: ret = %08x
\n
"
,
rc
);
if
(
temp_buffer
)
IKsPropertySet_Release
(
temp_buffer
);
}
/* Testing the reference counting */
ref
=
IDirectSoundBuffer_Release
(
primary
);
ok
(
ref
==
0
,
"IDirectSoundBuffer_Release() primary has %d references, "
...
...
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