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
11cc7af2
Commit
11cc7af2
authored
May 26, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
May 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss: Use mmdevapi's AudioClient3.
parent
f10b5dcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
31 deletions
+9
-31
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+9
-31
No files found.
dlls/wineoss.drv/mmdevdrv.c
View file @
11cc7af2
...
...
@@ -999,38 +999,16 @@ static HRESULT WINAPI AudioClient_GetBufferSizeLimits(IAudioClient3 *iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
AudioC
lient_GetSharedModeEnginePeriod
(
IAudioClient3
*
iface
,
extern
HRESULT
WINAPI
c
lient_GetSharedModeEnginePeriod
(
IAudioClient3
*
iface
,
const
WAVEFORMATEX
*
format
,
UINT32
*
default_period_frames
,
UINT32
*
unit_period_frames
,
UINT32
*
min_period_frames
,
UINT32
*
max_period_frames
)
{
ACImpl
*
This
=
impl_from_IAudioClient3
(
iface
);
FIXME
(
"(%p)->(%p, %p, %p, %p, %p)
\n
"
,
This
,
format
,
default_period_frames
,
unit_period_frames
,
min_period_frames
,
max_period_frames
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
AudioClient_GetCurrentSharedModeEnginePeriod
(
IAudioClient3
*
iface
,
WAVEFORMATEX
**
cur_format
,
UINT32
*
cur_period_frames
)
{
ACImpl
*
This
=
impl_from_IAudioClient3
(
iface
);
UINT32
*
min_period_frames
,
UINT32
*
max_period_frames
);
FIXME
(
"(%p)->(%p, %p)
\n
"
,
This
,
cur_format
,
cur_period_frames
);
extern
HRESULT
WINAPI
client_GetCurrentSharedModeEnginePeriod
(
IAudioClient3
*
iface
,
WAVEFORMATEX
**
cur_format
,
UINT32
*
cur_period_frames
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
AudioClient_InitializeSharedAudioStream
(
IAudioClient3
*
iface
,
extern
HRESULT
WINAPI
client_InitializeSharedAudioStream
(
IAudioClient3
*
iface
,
DWORD
flags
,
UINT32
period_frames
,
const
WAVEFORMATEX
*
format
,
const
GUID
*
session_guid
)
{
ACImpl
*
This
=
impl_from_IAudioClient3
(
iface
);
FIXME
(
"(%p)->(0x%lx, %u, %p, %s)
\n
"
,
This
,
flags
,
period_frames
,
format
,
debugstr_guid
(
session_guid
));
return
E_NOTIMPL
;
}
const
GUID
*
session_guid
);
static
const
IAudioClient3Vtbl
AudioClient3_Vtbl
=
{
...
...
@@ -1052,9 +1030,9 @@ static const IAudioClient3Vtbl AudioClient3_Vtbl =
AudioClient_IsOffloadCapable
,
AudioClient_SetClientProperties
,
AudioClient_GetBufferSizeLimits
,
AudioC
lient_GetSharedModeEnginePeriod
,
AudioC
lient_GetCurrentSharedModeEnginePeriod
,
AudioC
lient_InitializeSharedAudioStream
,
c
lient_GetSharedModeEnginePeriod
,
c
lient_GetCurrentSharedModeEnginePeriod
,
c
lient_InitializeSharedAudioStream
,
};
static
AudioSessionWrapper
*
AudioSessionWrapper_Create
(
ACImpl
*
client
)
...
...
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