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
eef4a25d
Commit
eef4a25d
authored
Aug 11, 2023
by
David McFarland
Committed by
Alexandre Julliard
Mar 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Add test for AudioClient3_InitializeSharedAudioStream.
parent
0d8bdf39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
render.c
dlls/mmdevapi/tests/render.c
+21
-1
No files found.
dlls/mmdevapi/tests/render.c
View file @
eef4a25d
...
...
@@ -341,8 +341,28 @@ static void test_audioclient(void)
broken
(
hr
==
E_NOINTERFACE
)
/* win8 */
,
"Failed to query IAudioClient3 interface: %08lx
\n
"
,
hr
);
if
(
hr
==
S_OK
)
if
(
hr
==
S_OK
){
UINT32
default_period
=
0
,
unit_period
,
min_period
,
max_period
;
hr
=
IAudioClient3_GetSharedModeEnginePeriod
(
ac3
,
pwfx
,
&
default_period
,
&
unit_period
,
&
min_period
,
&
max_period
);
todo_wine
ok
(
hr
==
S_OK
,
"GetSharedModeEnginePeriod returns %08lx
\n
"
,
hr
);
hr
=
IAudioClient3_InitializeSharedAudioStream
(
ac3
,
AUDCLNT_SHAREMODE_SHARED
,
default_period
,
pwfx
,
NULL
);
todo_wine
ok
(
hr
==
S_OK
,
"InitializeSharedAudioStream returns %08lx
\n
"
,
hr
);
IAudioClient3_Release
(
ac3
);
IAudioClient_Release
(
ac
);
hr
=
IMMDevice_Activate
(
dev
,
&
IID_IAudioClient
,
CLSCTX_INPROC_SERVER
,
NULL
,
(
void
**
)
&
ac
);
ok
(
hr
==
S_OK
,
"Activation failed with %08lx
\n
"
,
hr
);
}
else
win_skip
(
"IAudioClient3 is not present
\n
"
);
test_uninitialized
(
ac
);
...
...
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