Struct windows::Win32::Media::Audio::XAudio2::IXAudio2Voice_Vtbl

#[repr(C)]
pub struct IXAudio2Voice_Vtbl {
Show 19 fields pub GetVoiceDetails: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_VOICE_DETAILS), pub SetOutputVoices: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_VOICE_SENDS) -> HRESULT, pub SetEffectChain: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_EFFECT_CHAIN) -> HRESULT, pub EnableEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub DisableEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub GetEffectState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL), pub SetEffectParameters: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32, _: u32) -> HRESULT, pub GetEffectParameters: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: u32) -> HRESULT, pub SetFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_FILTER_PARAMETERS, _: u32) -> HRESULT, pub GetFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_FILTER_PARAMETERS), pub SetOutputFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const XAUDIO2_FILTER_PARAMETERS, _: u32) -> HRESULT, pub GetOutputFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut XAUDIO2_FILTER_PARAMETERS), pub SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32) -> HRESULT, pub GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32), pub SetChannelVolumes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT, pub GetChannelVolumes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32), pub SetOutputMatrix: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *const f32, _: u32) -> HRESULT, pub GetOutputMatrix: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *mut f32), pub DestroyVoice: unsafe extern "system" fn(_: *mut c_void),
}

Fields§

§GetVoiceDetails: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_VOICE_DETAILS)§SetOutputVoices: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_VOICE_SENDS) -> HRESULT§SetEffectChain: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_EFFECT_CHAIN) -> HRESULT§EnableEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§DisableEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§GetEffectState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL)§SetEffectParameters: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32, _: u32) -> HRESULT§GetEffectParameters: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void, _: u32) -> HRESULT§SetFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_FILTER_PARAMETERS, _: u32) -> HRESULT§GetFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_FILTER_PARAMETERS)§SetOutputFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const XAUDIO2_FILTER_PARAMETERS, _: u32) -> HRESULT§GetOutputFilterParameters: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut XAUDIO2_FILTER_PARAMETERS)§SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32) -> HRESULT§GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32)§SetChannelVolumes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const f32, _: u32) -> HRESULT§GetChannelVolumes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32)§SetOutputMatrix: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *const f32, _: u32) -> HRESULT§GetOutputMatrix: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *mut f32)§DestroyVoice: unsafe extern "system" fn(_: *mut c_void)

Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.