#[repr(C)]pub struct IPLReflectionEffectParams {
pub type_: IPLReflectionEffectType,
pub ir: IPLReflectionEffectIR,
pub reverbTimes: [IPLfloat32; 3],
pub eq: [IPLfloat32; 3],
pub delay: IPLint32,
pub numChannels: IPLint32,
pub irSize: IPLint32,
pub tanDevice: IPLTrueAudioNextDevice,
pub tanSlot: IPLint32,
}Expand description
Parameters for applying a reflection effect to an audio buffer.
Fields§
§type_: IPLReflectionEffectTypeType of reflection effect algorithm to use.
ir: IPLReflectionEffectIRThe impulse response. For \c IPL_REFLECTIONEFFECTTYPE_CONVOLUTION or \c IPL_REFLECTIONEFFECTTYPE_HYBRID.
reverbTimes: [IPLfloat32; 3]3-band reverb decay times (RT60). For \c IPL_REFLECTIONEFFECTTYPE_PARAMETRIC or \c IPL_REFLECTIONEFFECTTYPE_HYBRID.
eq: [IPLfloat32; 3]3-band EQ coefficients applied to the parametric part to ensure smooth transition. For \c IPL_REFLECTIONEFFECTTYPE_HYBRID.
delay: IPLint32Samples after which parametric part starts. For \c IPL_REFLECTIONEFFECTTYPE_HYBRID.
numChannels: IPLint32Number of IR channels to process. May be less than the number of channels specified when creating the effect, in which case CPU usage will be reduced.
irSize: IPLint32Number of IR samples per channel to process. May be less than the number of samples specified when creating the effect, in which case CPU usage will be reduced.
tanDevice: IPLTrueAudioNextDeviceThe TrueAudio Next device to use for convolution processing. For \c IPL_REFLECTIONEFFECTTYPE_TAN.
tanSlot: IPLint32The TrueAudio Next slot index to use for convolution processing. The slot identifies the IR to use. For \c IPL_REFLECTIONEFFECTTYPE_TAN.
Trait Implementations§
Source§impl Clone for IPLReflectionEffectParams
impl Clone for IPLReflectionEffectParams
Source§fn clone(&self) -> IPLReflectionEffectParams
fn clone(&self) -> IPLReflectionEffectParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more