pub struct IAudioClient(/* private fields */);Implementations§
Source§impl IAudioClient
impl IAudioClient
pub unsafe fn Initialize( &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
pub unsafe fn GetStreamLatency(&self, phnslatency: *mut i64) -> HRESULT
pub unsafe fn GetCurrentPadding(&self, pnumpaddingframes: *mut u32) -> 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 i64, phnsminimumdeviceperiod: *mut i64, ) -> HRESULT
pub unsafe fn Start(&self) -> HRESULT
pub unsafe fn Stop(&self) -> HRESULT
pub unsafe fn Reset(&self) -> HRESULT
pub unsafe fn SetEventHandle<'a>( &self, eventhandle: impl IntoParam<'a, HANDLE>, ) -> HRESULT
pub unsafe fn GetService( &self, riid: *const Guid, ppv: *mut *mut c_void, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioClient
impl Clone for IAudioClient
Source§fn clone(&self) -> IAudioClient
fn clone(&self) -> IAudioClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IAudioClient
impl Debug for IAudioClient
Source§impl From<&IAudioClient> for IUnknown
impl From<&IAudioClient> for IUnknown
Source§fn from(value: &IAudioClient) -> Self
fn from(value: &IAudioClient) -> Self
Converts to this type from the input type.
Source§impl From<&IAudioClient2> for IAudioClient
impl From<&IAudioClient2> for IAudioClient
Source§fn from(value: &IAudioClient2) -> Self
fn from(value: &IAudioClient2) -> Self
Converts to this type from the input type.
Source§impl From<&IAudioClient3> for IAudioClient
impl From<&IAudioClient3> for IAudioClient
Source§fn from(value: &IAudioClient3) -> Self
fn from(value: &IAudioClient3) -> Self
Converts to this type from the input type.
Source§impl From<IAudioClient> for IUnknown
impl From<IAudioClient> for IUnknown
Source§fn from(value: IAudioClient) -> Self
fn from(value: IAudioClient) -> Self
Converts to this type from the input type.
Source§impl From<IAudioClient2> for IAudioClient
impl From<IAudioClient2> for IAudioClient
Source§fn from(value: IAudioClient2) -> Self
fn from(value: IAudioClient2) -> Self
Converts to this type from the input type.
Source§impl From<IAudioClient3> for IAudioClient
impl From<IAudioClient3> for IAudioClient
Source§fn from(value: IAudioClient3) -> Self
fn from(value: IAudioClient3) -> Self
Converts to this type from the input type.
Source§impl Interface for IAudioClient
impl Interface for IAudioClient
const IID: Guid
type Vtable = IAudioClient_abi
Source§impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient2
impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient2
fn into_param(self) -> Param<'a, IAudioClient>
Source§impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient3
impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient3
fn into_param(self) -> Param<'a, IAudioClient>
Source§impl<'a> IntoParam<'a, IAudioClient> for IAudioClient2
impl<'a> IntoParam<'a, IAudioClient> for IAudioClient2
fn into_param(self) -> Param<'a, IAudioClient>
Source§impl<'a> IntoParam<'a, IAudioClient> for IAudioClient3
impl<'a> IntoParam<'a, IAudioClient> for IAudioClient3
fn into_param(self) -> Param<'a, IAudioClient>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioClient
impl<'a> IntoParam<'a, IUnknown> for IAudioClient
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioClient
impl PartialEq for IAudioClient
impl Eq for IAudioClient
impl StructuralPartialEq 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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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