pub struct IAudioClientVtbl {
pub parent: IUnknownVtbl,
pub Initialize: unsafe extern "system" fn(This: *mut IAudioClient, ShareMode: AUDCLNT_SHAREMODE, StreamFlags: DWORD, hnsBufferDuration: REFERENCE_TIME, hnsPeriodicity: REFERENCE_TIME, pFormat: *const WAVEFORMATEX, AudioSessionGuid: LPCGUID) -> HRESULT,
pub GetBufferSize: unsafe extern "system" fn(This: *mut IAudioClient, pNumBufferFrames: *mut UINT32) -> HRESULT,
pub GetStreamLatency: unsafe extern "system" fn(This: *mut IAudioClient, phnsLatency: *mut REFERENCE_TIME) -> HRESULT,
pub GetCurrentPadding: unsafe extern "system" fn(This: *mut IAudioClient, pNumPaddingFrames: *mut UINT32) -> HRESULT,
pub IsFormatSupported: unsafe extern "system" fn(This: *mut IAudioClient, ShareMode: AUDCLNT_SHAREMODE, pFormat: *const WAVEFORMATEX, ppClosestMatch: *mut *mut WAVEFORMATEX) -> HRESULT,
pub GetMixFormat: unsafe extern "system" fn(This: *mut IAudioClient, ppDeviceFormat: *mut *mut WAVEFORMATEX) -> HRESULT,
pub GetDevicePeriod: unsafe extern "system" fn(This: *mut IAudioClient, phnsDefaultDevicePeriod: *mut REFERENCE_TIME, phnsMinimumDevicePeriod: *mut REFERENCE_TIME) -> HRESULT,
pub Start: unsafe extern "system" fn(This: *mut IAudioClient) -> HRESULT,
pub Stop: unsafe extern "system" fn(This: *mut IAudioClient) -> HRESULT,
pub Reset: unsafe extern "system" fn(This: *mut IAudioClient) -> HRESULT,
pub SetEventHandle: unsafe extern "system" fn(This: *mut IAudioClient, eventHandle: HANDLE) -> HRESULT,
pub GetService: unsafe extern "system" fn(This: *mut IAudioClient, riid: REFIID, ppv: *mut LPVOID) -> HRESULT,
}
Fields
parent | |
Initialize | |
GetBufferSize | |
GetStreamLatency | |
GetCurrentPadding | |
IsFormatSupported | |
GetMixFormat | |
GetDevicePeriod | |
Start | |
Stop | |
Reset | |
SetEventHandle | |
GetService | |