Trait windows::Win32::Media::Audio::XAudio2::IXAudio2Voice_Impl

pub trait IXAudio2Voice_Impl: Sized {
Show 19 methods // Required methods fn GetVoiceDetails(&self, pvoicedetails: *mut XAUDIO2_VOICE_DETAILS); fn SetOutputVoices( &self, psendlist: *const XAUDIO2_VOICE_SENDS, ) -> Result<()>; fn SetEffectChain( &self, peffectchain: *const XAUDIO2_EFFECT_CHAIN, ) -> Result<()>; fn EnableEffect(&self, effectindex: u32, operationset: u32) -> Result<()>; fn DisableEffect(&self, effectindex: u32, operationset: u32) -> Result<()>; fn GetEffectState(&self, effectindex: u32, penabled: *mut BOOL); fn SetEffectParameters( &self, effectindex: u32, pparameters: *const c_void, parametersbytesize: u32, operationset: u32, ) -> Result<()>; fn GetEffectParameters( &self, effectindex: u32, pparameters: *mut c_void, parametersbytesize: u32, ) -> Result<()>; fn SetFilterParameters( &self, pparameters: *const XAUDIO2_FILTER_PARAMETERS, operationset: u32, ) -> Result<()>; fn GetFilterParameters(&self, pparameters: *mut XAUDIO2_FILTER_PARAMETERS); fn SetOutputFilterParameters( &self, pdestinationvoice: Option<&IXAudio2Voice>, pparameters: *const XAUDIO2_FILTER_PARAMETERS, operationset: u32, ) -> Result<()>; fn GetOutputFilterParameters( &self, pdestinationvoice: Option<&IXAudio2Voice>, pparameters: *mut XAUDIO2_FILTER_PARAMETERS, ); fn SetVolume(&self, volume: f32, operationset: u32) -> Result<()>; fn GetVolume(&self, pvolume: *mut f32); fn SetChannelVolumes( &self, channels: u32, pvolumes: *const f32, operationset: u32, ) -> Result<()>; fn GetChannelVolumes(&self, channels: u32, pvolumes: *mut f32); fn SetOutputMatrix( &self, pdestinationvoice: Option<&IXAudio2Voice>, sourcechannels: u32, destinationchannels: u32, plevelmatrix: *const f32, operationset: u32, ) -> Result<()>; fn GetOutputMatrix( &self, pdestinationvoice: Option<&IXAudio2Voice>, sourcechannels: u32, destinationchannels: u32, plevelmatrix: *mut f32, ); fn DestroyVoice(&self);
}

Required Methods§

fn GetVoiceDetails(&self, pvoicedetails: *mut XAUDIO2_VOICE_DETAILS)

fn SetOutputVoices(&self, psendlist: *const XAUDIO2_VOICE_SENDS) -> Result<()>

fn SetEffectChain( &self, peffectchain: *const XAUDIO2_EFFECT_CHAIN, ) -> Result<()>

fn EnableEffect(&self, effectindex: u32, operationset: u32) -> Result<()>

fn DisableEffect(&self, effectindex: u32, operationset: u32) -> Result<()>

fn GetEffectState(&self, effectindex: u32, penabled: *mut BOOL)

fn SetEffectParameters( &self, effectindex: u32, pparameters: *const c_void, parametersbytesize: u32, operationset: u32, ) -> Result<()>

fn GetEffectParameters( &self, effectindex: u32, pparameters: *mut c_void, parametersbytesize: u32, ) -> Result<()>

fn SetFilterParameters( &self, pparameters: *const XAUDIO2_FILTER_PARAMETERS, operationset: u32, ) -> Result<()>

fn GetFilterParameters(&self, pparameters: *mut XAUDIO2_FILTER_PARAMETERS)

fn SetOutputFilterParameters( &self, pdestinationvoice: Option<&IXAudio2Voice>, pparameters: *const XAUDIO2_FILTER_PARAMETERS, operationset: u32, ) -> Result<()>

fn GetOutputFilterParameters( &self, pdestinationvoice: Option<&IXAudio2Voice>, pparameters: *mut XAUDIO2_FILTER_PARAMETERS, )

fn SetVolume(&self, volume: f32, operationset: u32) -> Result<()>

fn GetVolume(&self, pvolume: *mut f32)

fn SetChannelVolumes( &self, channels: u32, pvolumes: *const f32, operationset: u32, ) -> Result<()>

fn GetChannelVolumes(&self, channels: u32, pvolumes: *mut f32)

fn SetOutputMatrix( &self, pdestinationvoice: Option<&IXAudio2Voice>, sourcechannels: u32, destinationchannels: u32, plevelmatrix: *const f32, operationset: u32, ) -> Result<()>

fn GetOutputMatrix( &self, pdestinationvoice: Option<&IXAudio2Voice>, sourcechannels: u32, destinationchannels: u32, plevelmatrix: *mut f32, )

fn DestroyVoice(&self)

Object Safety§

This trait is not object safe.

Implementors§