audioclient.idl: Declare IAudioClient3.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrew Eikum 2020-10-01 14:31:36 -05:00 committed by Alexandre Julliard
parent d8ae98d421
commit 496a8c1cf5
1 changed files with 29 additions and 0 deletions

View File

@ -151,6 +151,35 @@ interface IAudioClient2 : IAudioClient
); );
} }
[
local,
pointer_default(unique),
uuid(7ed4ee07-8e67-4cd4-8c1a-2b7a5987ad42),
object,
]
interface IAudioClient3 : IAudioClient2
{
HRESULT GetSharedModeEnginePeriod(
[in] const WAVEFORMATEX *format,
[out] UINT32 *default_period_frames,
[out] UINT32 *unit_period_frames,
[out] UINT32 *min_period_frames,
[out] UINT32 *max_period_frames
);
HRESULT GetCurrentSharedModeEnginePeriod(
[out] WAVEFORMATEX **cur_format,
[out] UINT32 *cur_period_frames
);
HRESULT InitializeSharedAudioStream(
[in] DWORD flags,
[in] UINT32 period_frames,
[in] const WAVEFORMATEX *format,
[in] const GUID *session_guid
);
}
[ [
local, local,
pointer_default(unique), pointer_default(unique),