Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IAudioClient [−][src]
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]
&self,
sharemode: AUDCLNT_SHAREMODE,
streamflags: u32,
hnsbufferduration: i64,
hnsperiodicity: i64,
pformat: *const WAVEFORMATEX,
audiosessionguid: *mut Guid
) -> HRESULT
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]
&self,
sharemode: AUDCLNT_SHAREMODE,
pformat: *const WAVEFORMATEX,
ppclosestmatch: *mut *mut WAVEFORMATEX
) -> HRESULT
pub unsafe fn GetMixFormat(
&self,
ppdeviceformat: *mut *mut WAVEFORMATEX
) -> HRESULT
[src]
&self,
ppdeviceformat: *mut *mut WAVEFORMATEX
) -> HRESULT
pub unsafe fn GetDevicePeriod(
&self,
phnsdefaultdeviceperiod: *mut i64,
phnsminimumdeviceperiod: *mut i64
) -> HRESULT
[src]
&self,
phnsdefaultdeviceperiod: *mut i64,
phnsminimumdeviceperiod: *mut i64
) -> HRESULT
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]
&self,
eventhandle: impl IntoParam<'a, HANDLE>
) -> HRESULT
pub unsafe fn GetService(
&self,
riid: *const Guid,
ppv: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: *const Guid,
ppv: *mut *mut c_void
) -> HRESULT
Trait Implementations
impl Clone for IAudioClient
[src]
fn clone(&self) -> IAudioClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IAudioClient
[src]
impl Eq for IAudioClient
[src]
impl From<&'_ IAudioClient2> for IAudioClient
[src]
fn from(value: &IAudioClient2) -> Self
[src]
impl From<&'_ IAudioClient3> for IAudioClient
[src]
fn from(value: &IAudioClient3) -> Self
[src]
impl From<IAudioClient2> for IAudioClient
[src]
fn from(value: IAudioClient2) -> Self
[src]
impl From<IAudioClient3> for IAudioClient
[src]
fn from(value: IAudioClient3) -> Self
[src]
impl Interface for IAudioClient
[src]
type Vtable = IAudioClient_abi
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a> IntoParam<'a, IAudioClient> for IAudioClient2
[src]
fn into_param(self) -> Param<'a, IAudioClient>
[src]
impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient2
[src]
fn into_param(self) -> Param<'a, IAudioClient>
[src]
impl<'a> IntoParam<'a, IAudioClient> for IAudioClient3
[src]
fn into_param(self) -> Param<'a, IAudioClient>
[src]
impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient3
[src]
fn into_param(self) -> Param<'a, IAudioClient>
[src]
impl<'a> IntoParam<'a, IUnknown> for IAudioClient
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IAudioClient> for IAudioClient
[src]
fn eq(&self, other: &IAudioClient) -> bool
[src]
fn ne(&self, other: &IAudioClient) -> bool
[src]
impl StructuralEq for IAudioClient
[src]
impl StructuralPartialEq for IAudioClient
[src]
Auto Trait Implementations
impl RefUnwindSafe for IAudioClient
impl !Send for IAudioClient
impl !Sync for IAudioClient
impl Unpin for IAudioClient
impl UnwindSafe for IAudioClient
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,