pub struct IAudioClient3(/* private fields */);Implementations§
Source§impl IAudioClient3
impl IAudioClient3
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
pub unsafe fn IsOffloadCapable( &self, category: AUDIO_STREAM_CATEGORY, pboffloadcapable: *mut BOOL, ) -> HRESULT
pub unsafe fn SetClientProperties( &self, pproperties: *const AudioClientProperties, ) -> HRESULT
pub unsafe fn GetBufferSizeLimits<'a>( &self, pformat: *const WAVEFORMATEX, beventdriven: impl IntoParam<'a, BOOL>, phnsminbufferduration: *mut i64, phnsmaxbufferduration: *mut i64, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioClient3
impl Clone for IAudioClient3
Source§fn clone(&self) -> IAudioClient3
fn clone(&self) -> IAudioClient3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IAudioClient3
impl Debug for IAudioClient3
impl Eq for IAudioClient3
Source§impl From<&IAudioClient3> for IUnknown
impl From<&IAudioClient3> for IUnknown
Source§fn from(value: &IAudioClient3) -> Self
fn from(value: &IAudioClient3) -> Self
Converts to this type from the input type.
Source§impl From<&IAudioClient3> for IAudioClient2
impl From<&IAudioClient3> for IAudioClient2
Source§fn from(value: &IAudioClient3) -> Self
fn from(value: &IAudioClient3) -> 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<IAudioClient3> for IUnknown
impl From<IAudioClient3> for IUnknown
Source§fn from(value: IAudioClient3) -> Self
fn from(value: IAudioClient3) -> Self
Converts to this type from the input type.
Source§impl From<IAudioClient3> for IAudioClient2
impl From<IAudioClient3> for IAudioClient2
Source§fn from(value: IAudioClient3) -> Self
fn from(value: IAudioClient3) -> 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 IAudioClient3
impl Interface for IAudioClient3
const IID: Guid
type Vtable = IAudioClient3_abi
Source§impl<'a> IntoParam<'a, IAudioClient2> for IAudioClient3
impl<'a> IntoParam<'a, IAudioClient2> for IAudioClient3
fn into_param(self) -> Param<'a, IAudioClient2>
Source§impl<'a> IntoParam<'a, IAudioClient2> for &'a IAudioClient3
impl<'a> IntoParam<'a, IAudioClient2> for &'a IAudioClient3
fn into_param(self) -> Param<'a, IAudioClient2>
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, IAudioClient> for &'a IAudioClient3
impl<'a> IntoParam<'a, IAudioClient> for &'a IAudioClient3
fn into_param(self) -> Param<'a, IAudioClient>
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioClient3
impl<'a> IntoParam<'a, IUnknown> for IAudioClient3
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient3
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioClient3
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioClient3
impl PartialEq for IAudioClient3
impl StructuralPartialEq for IAudioClient3
Auto Trait Implementations§
impl !Send for IAudioClient3
impl !Sync for IAudioClient3
impl Freeze for IAudioClient3
impl RefUnwindSafe for IAudioClient3
impl Unpin for IAudioClient3
impl UnsafeUnpin for IAudioClient3
impl UnwindSafe for IAudioClient3
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