mirror of
https://github.com/wine-mirror/wine
synced 2024-07-01 07:14:31 +00:00
mmdevapi: Implement IAudioClient3_GetCurrentSharedModeEnginePeriod.
This commit is contained in:
parent
235d527fa5
commit
b34b5d84a6
|
@ -1026,8 +1026,18 @@ static HRESULT WINAPI client_GetCurrentSharedModeEnginePeriod(IAudioClient3 *ifa
|
|||
UINT32 *cur_period_frames)
|
||||
{
|
||||
struct audio_client *This = impl_from_IAudioClient3(iface);
|
||||
FIXME("(%p)->(%p, %p) - stub\n", This, cur_format, cur_period_frames);
|
||||
return E_NOTIMPL;
|
||||
UINT32 dummy;
|
||||
HRESULT hr;
|
||||
|
||||
TRACE("(%p)->(%p, %p)\n", This, cur_format, cur_period_frames);
|
||||
|
||||
if (!cur_format || !cur_period_frames)
|
||||
return E_POINTER;
|
||||
|
||||
if (FAILED(hr = client_GetMixFormat(iface, cur_format)))
|
||||
return hr;
|
||||
|
||||
return client_GetSharedModeEnginePeriod(iface, *cur_format, cur_period_frames, &dummy, &dummy, &dummy);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI client_InitializeSharedAudioStream(IAudioClient3 *iface, DWORD flags,
|
||||
|
|
Loading…
Reference in New Issue
Block a user