Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IAudioClient[][src]

#[repr(transparent)]pub struct IAudioClient(_);

Implementations

impl IAudioClient[src]

pub unsafe fn Initialize(
    &self,
    sharemode: AUDCLNT_SHAREMODE,
    streamflags: u32,
    hnsbufferduration: i64,
    hnsperiodicity: i64,
    pformat: *const WAVEFORMATEX,
    audiosessionguid: *mut Guid
) -> HRESULT
[src]

pub unsafe fn GetBufferSize(&self, pnumbufferframes: *mut u32) -> HRESULT[src]

pub unsafe fn GetStreamLatency(&self, phnslatency: *mut i64) -> HRESULT[src]

pub unsafe fn GetCurrentPadding(&self, pnumpaddingframes: *mut u32) -> HRESULT[src]

pub unsafe fn IsFormatSupported(
    &self,
    sharemode: AUDCLNT_SHAREMODE,
    pformat: *const WAVEFORMATEX,
    ppclosestmatch: *mut *mut WAVEFORMATEX
) -> HRESULT
[src]

pub unsafe fn GetMixFormat(
    &self,
    ppdeviceformat: *mut *mut WAVEFORMATEX
) -> HRESULT
[src]

pub unsafe fn GetDevicePeriod(
    &self,
    phnsdefaultdeviceperiod: *mut i64,
    phnsminimumdeviceperiod: *mut i64
) -> HRESULT
[src]

pub unsafe fn Start(&self) -> HRESULT[src]

pub unsafe fn Stop(&self) -> HRESULT[src]

pub unsafe fn Reset(&self) -> HRESULT[src]

pub unsafe fn SetEventHandle<'a>(
    &self,
    eventhandle: impl IntoParam<'a, HANDLE>
) -> HRESULT
[src]

pub unsafe fn GetService(
    &self,
    riid: *const Guid,
    ppv: *mut *mut c_void
) -> HRESULT
[src]

Trait Implementations

impl Clone for IAudioClient[src]

impl Debug for IAudioClient[src]

impl Eq for IAudioClient[src]

impl From<&'_ IAudioClient2> for IAudioClient[src]

impl From<&'_ IAudioClient3> for IAudioClient[src]

impl From<IAudioClient2> for IAudioClient[src]

impl From<IAudioClient3> for IAudioClient[src]

impl Interface for IAudioClient[src]

type Vtable = IAudioClient_abi

impl<'a> IntoParam<'a, IAudioClient> for IAudioClient2[src]

impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient2[src]

impl<'a> IntoParam<'a, IAudioClient> for IAudioClient3[src]

impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient3[src]

impl<'a> IntoParam<'a, IUnknown> for IAudioClient[src]

impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient[src]

impl PartialEq<IAudioClient> for IAudioClient[src]

impl StructuralEq for IAudioClient[src]

impl StructuralPartialEq for IAudioClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Abi for T where
    T: Interface
[src]

type Abi = *mut c_void

The abi representation of the implementing type. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> IntoParam<'a, T> for T where
    T: Abi
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.