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
73a6f764
Commit
73a6f764
authored
Aug 12, 2023
by
David McFarland
Committed by
Alexandre Julliard
Mar 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Implement IAudioClient3_InitializeSharedAudioStream.
parent
eef4a25d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
client.c
dlls/mmdevapi/client.c
+8
-2
render.c
dlls/mmdevapi/tests/render.c
+0
-1
No files found.
dlls/mmdevapi/client.c
View file @
73a6f764
...
...
@@ -950,8 +950,14 @@ static HRESULT WINAPI client_InitializeSharedAudioStream(IAudioClient3 *iface, D
const
GUID
*
session_guid
)
{
struct
audio_client
*
This
=
impl_from_IAudioClient3
(
iface
);
FIXME
(
"(%p)->(0x%lx, %u, %p, %s) - stub
\n
"
,
This
,
flags
,
period_frames
,
format
,
debugstr_guid
(
session_guid
));
return
E_NOTIMPL
;
REFERENCE_TIME
duration
;
FIXME
(
"(%p)->(0x%lx, %u, %p, %s) - partial stub
\n
"
,
This
,
flags
,
period_frames
,
format
,
debugstr_guid
(
session_guid
));
if
(
!
format
)
return
E_POINTER
;
duration
=
period_frames
*
(
REFERENCE_TIME
)
10000000
/
format
->
nSamplesPerSec
;
return
client_Initialize
(
iface
,
AUDCLNT_SHAREMODE_SHARED
,
flags
,
duration
,
0
,
format
,
session_guid
);
}
const
IAudioClient3Vtbl
AudioClient3_Vtbl
=
...
...
dlls/mmdevapi/tests/render.c
View file @
73a6f764
...
...
@@ -351,7 +351,6 @@ static void test_audioclient(void)
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
);
...
...
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