#[repr(C)]pub struct IPLDirectEffectParams {
pub flags: IPLDirectEffectFlags,
pub transmissionType: IPLTransmissionType,
pub distanceAttenuation: IPLfloat32,
pub airAbsorption: [IPLfloat32; 3],
pub directivity: IPLfloat32,
pub occlusion: IPLfloat32,
pub transmission: [IPLfloat32; 3],
}Expand description
Parameters for applying a direct effect to an audio buffer.
Fields§
§flags: IPLDirectEffectFlagsFlags indicating which direct path effects to apply.
transmissionType: IPLTransmissionTypeMode of applying transmission effect, if \c IPL_DIRECTEFFECTFLAGS_APPLYTRANSMISSION is enabled.
distanceAttenuation: IPLfloat32Value of distance attenuation, between 0 and 1.
airAbsorption: [IPLfloat32; 3]3-band EQ coefficients for air absorption, each between 0 and 1.
directivity: IPLfloat32Value of directivity term, between 0 and 1.
occlusion: IPLfloat32Value of occlusion factor, between 0 and 1.
transmission: [IPLfloat32; 3]3-band EQ coefficients for transmission, each between 0 and 1.
Trait Implementations§
Source§impl Clone for IPLDirectEffectParams
impl Clone for IPLDirectEffectParams
Source§fn clone(&self) -> IPLDirectEffectParams
fn clone(&self) -> IPLDirectEffectParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IPLDirectEffectParams
impl Debug for IPLDirectEffectParams
impl Copy for IPLDirectEffectParams
Auto Trait Implementations§
impl Freeze for IPLDirectEffectParams
impl RefUnwindSafe for IPLDirectEffectParams
impl Send for IPLDirectEffectParams
impl Sync for IPLDirectEffectParams
impl Unpin for IPLDirectEffectParams
impl UnwindSafe for IPLDirectEffectParams
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