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
ebdee3cd
Commit
ebdee3cd
authored
Aug 21, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Aug 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Distinguish GetChannelCount() calls in test_volume_dependence() fail messages.
parent
874260d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
capture.c
dlls/mmdevapi/tests/capture.c
+2
-2
render.c
dlls/mmdevapi/tests/render.c
+2
-2
No files found.
dlls/mmdevapi/tests/capture.c
View file @
ebdee3cd
...
...
@@ -915,11 +915,11 @@ static void test_volume_dependence(void)
ok
(
vol
==
1
.
f
,
"ASV_GetChannelVolume gave wrong volume: %f
\n
"
,
vol
);
hr
=
IChannelAudioVolume_GetChannelCount
(
cav2
,
&
nch
);
ok
(
hr
==
S_OK
,
"GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
CAV_
GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
nch
==
fmt
->
nChannels
,
"Got wrong channel count, expected %u: %u
\n
"
,
fmt
->
nChannels
,
nch
);
hr
=
IAudioStreamVolume_GetChannelCount
(
asv2
,
&
nch
);
ok
(
hr
==
S_OK
,
"GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
ASV_
GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
nch
==
fmt
->
nChannels
,
"Got wrong channel count, expected %u: %u
\n
"
,
fmt
->
nChannels
,
nch
);
IAudioStreamVolume_Release
(
asv2
);
...
...
dlls/mmdevapi/tests/render.c
View file @
ebdee3cd
...
...
@@ -1996,11 +1996,11 @@ static void test_volume_dependence(void)
ok
(
vol
==
1
.
f
,
"ASV_GetChannelVolume gave wrong volume: %f
\n
"
,
vol
);
hr
=
IChannelAudioVolume_GetChannelCount
(
cav2
,
&
nch
);
ok
(
hr
==
S_OK
,
"GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
CAV_
GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
nch
==
fmt
->
nChannels
,
"Got wrong channel count, expected %u: %u
\n
"
,
fmt
->
nChannels
,
nch
);
hr
=
IAudioStreamVolume_GetChannelCount
(
asv2
,
&
nch
);
ok
(
hr
==
S_OK
,
"GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
ASV_
GetChannelCount failed: %08lx
\n
"
,
hr
);
ok
(
nch
==
fmt
->
nChannels
,
"Got wrong channel count, expected %u: %u
\n
"
,
fmt
->
nChannels
,
nch
);
IAudioStreamVolume_Release
(
asv2
);
...
...
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