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
37389cfc
Commit
37389cfc
authored
Nov 01, 2013
by
Andrew Eikum
Committed by
Alexandre Julliard
Nov 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Update some error values for Windows 8.1.
parent
3486a35a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
render.c
dlls/mmdevapi/tests/render.c
+4
-2
No files found.
dlls/mmdevapi/tests/render.c
View file @
37389cfc
...
...
@@ -256,7 +256,8 @@ static void test_audioclient(void)
ok
(
hr
==
AUDCLNT_E_NOT_INITIALIZED
,
"Initialize with invalid sharemode returns %08x
\n
"
,
hr
);
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0xffffffff
,
5000000
,
0
,
pwfx
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
||
hr
==
AUDCLNT_E_INVALID_STREAM_FLAG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
/* A period != 0 is ignored and the call succeeds.
* Since we can only initialize successfully once, skip those tests.
...
...
@@ -456,7 +457,8 @@ static void test_formats(AUDCLNT_SHAREMODE mode)
* Some cards Initialize 44100|48000x16x1 yet claim no support;
* F. Gouget's w7 bots do that for 12000|96000x8|16x1|2 */
ok
(
hrs
==
S_OK
?
hr
==
S_OK
||
broken
(
hr
==
AUDCLNT_E_ENDPOINT_CREATE_FAILED
)
:
hr
==
AUDCLNT_E_ENDPOINT_CREATE_FAILED
||
broken
(
hr
==
S_OK
&&
:
hr
==
AUDCLNT_E_ENDPOINT_CREATE_FAILED
||
hr
==
AUDCLNT_E_UNSUPPORTED_FORMAT
||
broken
(
hr
==
S_OK
&&
((
fmt
.
nChannels
==
1
&&
fmt
.
wBitsPerSample
==
16
)
||
(
fmt
.
nSamplesPerSec
==
12000
||
fmt
.
nSamplesPerSec
==
96000
))),
"Initialize(exclus., %ux%2ux%u) returns %08x
\n
"
,
...
...
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