#[repr(C)]pub struct IAudioClient {
pub lpVtbl: *const IAudioClientVtbl,
}
Fields§
§lpVtbl: *const IAudioClientVtbl
Implementations§
Source§impl IAudioClient
impl IAudioClient
pub unsafe fn Initialize( &self, ShareMode: AUDCLNT_SHAREMODE, StreamFlags: DWORD, hnsBufferDuration: REFERENCE_TIME, hnsPeriodicity: REFERENCE_TIME, pFormat: *const WAVEFORMATEX, AudioSessionGuid: LPCGUID, ) -> HRESULT
pub unsafe fn GetBufferSize(&self, pNumBufferFrames: *mut UINT32) -> HRESULT
pub unsafe fn GetStreamLatency( &self, phnsLatency: *mut REFERENCE_TIME, ) -> HRESULT
pub unsafe fn GetCurrentPadding( &self, pNumPaddingFrames: *mut UINT32, ) -> HRESULT
pub unsafe fn IsFormatSupported( &self, ShareMode: AUDCLNT_SHAREMODE, pFormat: *const WAVEFORMATEX, ppClosestMatch: *mut *mut WAVEFORMATEX, ) -> HRESULT
pub unsafe fn GetMixFormat( &self, ppDeviceFormat: *mut *mut WAVEFORMATEX, ) -> HRESULT
pub unsafe fn GetDevicePeriod( &self, phnsDefaultDevicePeriod: *mut REFERENCE_TIME, phnsMinimumDevicePeriod: *mut REFERENCE_TIME, ) -> HRESULT
pub unsafe fn Start(&self) -> HRESULT
pub unsafe fn Stop(&self) -> HRESULT
pub unsafe fn Reset(&self) -> HRESULT
pub unsafe fn SetEventHandle(&self, eventHandle: HANDLE) -> HRESULT
pub unsafe fn GetService(&self, riid: REFIID, ppv: *mut LPVOID) -> HRESULT
Trait Implementations§
Source§impl Deref for IAudioClient
impl Deref for IAudioClient
Auto Trait Implementations§
impl Freeze for IAudioClient
impl RefUnwindSafe for IAudioClient
impl !Send for IAudioClient
impl !Sync for IAudioClient
impl Unpin for IAudioClient
impl UnwindSafe for IAudioClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more