#[repr(u32)]pub enum IPLReflectionEffectType {
IPL_REFLECTIONEFFECTTYPE_CONVOLUTION = 0,
IPL_REFLECTIONEFFECTTYPE_PARAMETRIC = 1,
IPL_REFLECTIONEFFECTTYPE_HYBRID = 2,
IPL_REFLECTIONEFFECTTYPE_TAN = 3,
}Expand description
Type of reflection effect algorithm to use.
Variants§
IPL_REFLECTIONEFFECTTYPE_CONVOLUTION = 0
Multi-channel convolution reverb. Reflections reaching the listener are encoded in an Impulse Response (IR), which is a filter that records each reflection as it arrives. This algorithm renders reflections with the most detail, but may result in significant CPU usage. Using a reflection mixer with this algorithm provides a reduction in CPU usage.
IPL_REFLECTIONEFFECTTYPE_PARAMETRIC = 1
Parametric (or artificial) reverb, using feedback delay networks. The reflected sound field is reduced to a few numbers that describe how reflected energy decays over time. This is then used to drive an approximate model of reverberation in an indoor space. This algorithm results in lower CPU usage, but cannot render individual echoes, especially in outdoor spaces. A reflection mixer cannot be used with this algorithm.
IPL_REFLECTIONEFFECTTYPE_HYBRID = 2
A hybrid of convolution and parametric reverb. The initial portion of the IR is rendered using convolution reverb, but the later part is used to estimate a parametric reverb. The point in the IR where this transition occurs can be controlled. This algorithm allows a trade-off between rendering quality and CPU usage. An reflection mixer cannot be used with this algorithm.
IPL_REFLECTIONEFFECTTYPE_TAN = 3
Multi-channel convolution reverb, using AMD TrueAudio Next for GPU acceleration. This algorithm is similar to \c IPL_REFLECTIONEFFECTYPE_CONVOLUTION, but uses the GPU instead of the CPU for processing, allowing significantly more sources to be processed. A reflection mixer must be used with this algorithm, because the GPU will process convolution reverb at a single point in your audio processing pipeline.
Trait Implementations§
Source§impl Clone for IPLReflectionEffectType
impl Clone for IPLReflectionEffectType
Source§fn clone(&self) -> IPLReflectionEffectType
fn clone(&self) -> IPLReflectionEffectType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more