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
f48d3c8e
Commit
f48d3c8e
authored
Feb 07, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Feb 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Add test for querying IAMDirectSound from DSoundRenderer.
parent
28acc839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dsoundrender.c
dlls/quartz/tests/dsoundrender.c
+4
-0
No files found.
dlls/quartz/tests/dsoundrender.c
View file @
f48d3c8e
...
...
@@ -26,6 +26,7 @@
#include "dshow.h"
#include "initguid.h"
#include "dsound.h"
#include "amaudio.h"
#define QI_SUCCEED(iface, riid, ppv) hr = IUnknown_QueryInterface(iface, &riid, (LPVOID*)&ppv); \
ok(hr == S_OK, "IUnknown_QueryInterface returned %x\n", hr); \
...
...
@@ -124,6 +125,7 @@ static void test_query_interface(void)
IPersistPropertyBag
*
ppb
=
NULL
;
IDirectSound3DBuffer
*
ds3dbuf
=
NULL
;
IReferenceClock
*
clock
=
NULL
;
IAMDirectSound
*
pAMDirectSound
=
NULL
;
QI_SUCCEED
(
pDSRender
,
IID_IBaseFilter
,
pBaseFilter
);
RELEASE_EXPECT
(
pBaseFilter
,
1
);
...
...
@@ -148,6 +150,8 @@ static void test_query_interface(void)
RELEASE_EXPECT
(
pMediaPosition
,
1
);
QI_SUCCEED
(
pDSRender
,
IID_IQualityControl
,
pQualityControl
);
RELEASE_EXPECT
(
pQualityControl
,
1
);
QI_SUCCEED
(
pDSRender
,
IID_IAMDirectSound
,
pAMDirectSound
);
RELEASE_EXPECT
(
pAMDirectSound
,
1
);
}
}
...
...
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