Struct winapi::audioclient::IAudioClient [] [src]

pub struct IAudioClient {
    pub lpVtbl: *const IAudioClientVtbl,
}

Fields

lpVtbl

Methods

impl IAudioClient

unsafe fn Initialize(&mut self, ShareMode: AUDCLNT_SHAREMODE, StreamFlags: DWORD, hnsBufferDuration: REFERENCE_TIME, hnsPeriodicity: REFERENCE_TIME, pFormat: *const WAVEFORMATEX, AudioSessionGuid: LPCGUID) -> HRESULT

unsafe fn GetBufferSize(&mut self, pNumBufferFrames: *mut UINT32) -> HRESULT

unsafe fn GetStreamLatency(&mut self, phnsLatency: *mut REFERENCE_TIME) -> HRESULT

unsafe fn GetCurrentPadding(&mut self, pNumPaddingFrames: *mut UINT32) -> HRESULT

unsafe fn IsFormatSupported(&mut self, ShareMode: AUDCLNT_SHAREMODE, pFormat: *const WAVEFORMATEX, ppClosestMatch: *mut *mut WAVEFORMATEX) -> HRESULT

unsafe fn GetMixFormat(&mut self, ppDeviceFormat: *mut *mut WAVEFORMATEX) -> HRESULT

unsafe fn GetDevicePeriod(&mut self, phnsDefaultDevicePeriod: *mut REFERENCE_TIME, phnsMinimumDevicePeriod: *mut REFERENCE_TIME) -> HRESULT

unsafe fn Start(&mut self) -> HRESULT

unsafe fn Stop(&mut self) -> HRESULT

unsafe fn Reset(&mut self) -> HRESULT

unsafe fn SetEventHandle(&mut self, eventHandle: HANDLE) -> HRESULT

unsafe fn GetService(&mut self, riid: REFIID, ppv: *mut LPVOID) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Deref for IAudioClient

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IAudioClient

fn deref_mut(&mut self) -> &mut IUnknown

Derived Implementations

impl Debug for IAudioClient

fn fmt(&self, __arg_0: &mut Formatter) -> Result