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
6c683198
Commit
6c683198
authored
Oct 24, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Don't crash on test failure.
parent
851856af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
render.c
dlls/mmdevapi/tests/render.c
+6
-0
No files found.
dlls/mmdevapi/tests/render.c
View file @
6c683198
...
@@ -719,6 +719,7 @@ static void test_session(void)
...
@@ -719,6 +719,7 @@ static void test_session(void)
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IAudioClient
,
CLSCTX_INPROC_SERVER
,
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IAudioClient
,
CLSCTX_INPROC_SERVER
,
NULL
,
(
void
**
)
&
ses1_ac1
);
NULL
,
(
void
**
)
&
ses1_ac1
);
ok
(
hr
==
S_OK
,
"Activation failed with %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Activation failed with %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
hr
=
IAudioClient_GetMixFormat
(
ses1_ac1
,
&
pwfx
);
hr
=
IAudioClient_GetMixFormat
(
ses1_ac1
,
&
pwfx
);
ok
(
hr
==
S_OK
,
"GetMixFormat failed: %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"GetMixFormat failed: %08x
\n
"
,
hr
);
...
@@ -730,6 +731,11 @@ static void test_session(void)
...
@@ -730,6 +731,11 @@ static void test_session(void)
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IAudioClient
,
CLSCTX_INPROC_SERVER
,
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IAudioClient
,
CLSCTX_INPROC_SERVER
,
NULL
,
(
void
**
)
&
ses1_ac2
);
NULL
,
(
void
**
)
&
ses1_ac2
);
ok
(
hr
==
S_OK
,
"Activation failed with %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Activation failed with %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
IAudioClient_Release
(
ses1_ac1
);
return
;
}
hr
=
IAudioClient_Initialize
(
ses1_ac2
,
AUDCLNT_SHAREMODE_SHARED
,
hr
=
IAudioClient_Initialize
(
ses1_ac2
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
5000000
,
0
,
pwfx
,
&
ses1_guid
);
0
,
5000000
,
0
,
pwfx
,
&
ses1_guid
);
...
...
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