#[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§
§impl IXAudio2Voice_Vtbl
impl IXAudio2Voice_Vtbl
pub const fn new<Impl: IXAudio2Voice_Impl>() -> IXAudio2Voice_Vtbl
Auto Trait Implementations§
impl Freeze for IXAudio2Voice_Vtbl
impl RefUnwindSafe for IXAudio2Voice_Vtbl
impl Send for IXAudio2Voice_Vtbl
impl Sync for IXAudio2Voice_Vtbl
impl Unpin for IXAudio2Voice_Vtbl
impl UnwindSafe for IXAudio2Voice_Vtbl
Blanket Implementations§
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