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
6b76648a
Commit
6b76648a
authored
Feb 05, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime/tests: Test the return value of IDirectMusic_SetDirectSound().
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c827e3f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
performance.c
dlls/dmime/tests/performance.c
+2
-2
No files found.
dlls/dmime/tests/performance.c
View file @
6b76648a
...
@@ -178,7 +178,7 @@ static HRESULT test_InitAudio(void)
...
@@ -178,7 +178,7 @@ static HRESULT test_InitAudio(void)
/* Provided dmusic initialized with SetDirectSound */
/* Provided dmusic initialized with SetDirectSound */
create_performance
(
&
performance
,
&
dmusic
,
&
dsound
,
TRUE
);
create_performance
(
&
performance
,
&
dmusic
,
&
dsound
,
TRUE
);
IDirectMusic_SetDirectSound
(
dmusic
,
dsound
,
NULL
);
hr
=
IDirectMusic_SetDirectSound
(
dmusic
,
dsound
,
NULL
);
ok
(
hr
==
S_OK
,
"SetDirectSound failed: %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"SetDirectSound failed: %08x
\n
"
,
hr
);
ref
=
get_refcount
(
dsound
);
ref
=
get_refcount
(
dsound
);
ok
(
ref
==
2
,
"dsound ref count got %d expected 2
\n
"
,
ref
);
ok
(
ref
==
2
,
"dsound ref count got %d expected 2
\n
"
,
ref
);
...
@@ -192,7 +192,7 @@ static HRESULT test_InitAudio(void)
...
@@ -192,7 +192,7 @@ static HRESULT test_InitAudio(void)
/* Provided dmusic and dsound, dmusic initialized with SetDirectSound */
/* Provided dmusic and dsound, dmusic initialized with SetDirectSound */
create_performance
(
&
performance
,
&
dmusic
,
&
dsound
,
TRUE
);
create_performance
(
&
performance
,
&
dmusic
,
&
dsound
,
TRUE
);
IDirectMusic_SetDirectSound
(
dmusic
,
dsound
,
NULL
);
hr
=
IDirectMusic_SetDirectSound
(
dmusic
,
dsound
,
NULL
);
ok
(
hr
==
S_OK
,
"SetDirectSound failed: %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"SetDirectSound failed: %08x
\n
"
,
hr
);
ref
=
get_refcount
(
dsound
);
ref
=
get_refcount
(
dsound
);
ok
(
ref
==
2
,
"dsound ref count got %d expected 2
\n
"
,
ref
);
ok
(
ref
==
2
,
"dsound ref count got %d expected 2
\n
"
,
ref
);
...
...
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