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
b9b425d6
Commit
b9b425d6
authored
May 04, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
May 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Test audio capture pin interfaces.
parent
6174d63b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
audiorecord.c
dlls/qcap/tests/audiorecord.c
+18
-0
No files found.
dlls/qcap/tests/audiorecord.c
View file @
b9b425d6
...
...
@@ -2,6 +2,7 @@
* Audio capture filter unit tests
*
* Copyright 2018 Zebediah Figura
* Copyright 2023 Zebediah Figura for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -46,6 +47,9 @@ static void check_interface_(unsigned int line, void *iface_ptr, REFIID iid, BOO
static
void
test_interfaces
(
IBaseFilter
*
filter
)
{
HRESULT
hr
;
IPin
*
pin
;
todo_wine
check_interface
(
filter
,
&
IID_IAMFilterMiscFlags
,
TRUE
);
check_interface
(
filter
,
&
IID_IBaseFilter
,
TRUE
);
check_interface
(
filter
,
&
IID_IMediaFilter
,
TRUE
);
...
...
@@ -63,6 +67,20 @@ static void test_interfaces(IBaseFilter *filter)
check_interface
(
filter
,
&
IID_IQualProp
,
FALSE
);
check_interface
(
filter
,
&
IID_IReferenceClock
,
FALSE
);
check_interface
(
filter
,
&
IID_IVideoWindow
,
FALSE
);
hr
=
IBaseFilter_FindPin
(
filter
,
L"Capture"
,
&
pin
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
todo_wine
check_interface
(
pin
,
&
IID_IKsPropertySet
,
TRUE
);
check_interface
(
pin
,
&
IID_IPin
,
TRUE
);
todo_wine
check_interface
(
pin
,
&
IID_IQualityControl
,
TRUE
);
check_interface
(
pin
,
&
IID_IUnknown
,
TRUE
);
check_interface
(
pin
,
&
IID_IAsyncReader
,
FALSE
);
check_interface
(
pin
,
&
IID_IMediaPosition
,
FALSE
);
check_interface
(
pin
,
&
IID_IMediaSeeking
,
FALSE
);
IPin_Release
(
pin
);
}
static
const
GUID
test_iid
=
{
0x33333333
};
...
...
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