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
b0f7f843
Commit
b0f7f843
authored
Jul 25, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Add more tests for audio record media types.
parent
c84e7d67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
audiorecord.c
dlls/qcap/tests/audiorecord.c
+16
-0
No files found.
dlls/qcap/tests/audiorecord.c
View file @
b0f7f843
...
...
@@ -1118,6 +1118,19 @@ static void test_stream_config(IBaseFilter *filter)
ok
(
compare_media_types
(
mt
,
mt2
),
"Media types didn't match.
\n
"
);
DeleteMediaType
(
mt2
);
/* The first entry in the list is always the same as the format set. */
IPin_EnumMediaTypes
(
source
,
&
enummt
);
hr
=
IEnumMediaTypes_Next
(
enummt
,
1
,
&
mt2
,
NULL
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
todo_wine_if
(
i
>
0
)
ok
(
compare_media_types
(
mt
,
mt2
),
"Media types didn't match.
\n
"
);
DeleteMediaType
(
mt2
);
IEnumMediaTypes_Release
(
enummt
);
hr
=
IAMStreamConfig_GetStreamCaps
(
config
,
0
,
&
mt2
,
(
BYTE
*
)
&
caps
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
todo_wine_if
(
i
>
0
)
ok
(
compare_media_types
(
mt
,
mt2
),
"Media types didn't match.
\n
"
);
DeleteMediaType
(
mt2
);
DeleteMediaType
(
mt
);
winetest_pop_context
();
...
...
@@ -1135,6 +1148,9 @@ static void test_stream_config(IBaseFilter *filter)
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
compare_media_types
(
mt
,
mt2
),
"Media types didn't match.
\n
"
);
hr
=
IPin_QueryAccept
(
source
,
mt
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
DeleteMediaType
(
mt2
);
DeleteMediaType
(
mt
);
}
...
...
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