Struct steam_audio_sys::ffi::IPLDirectEffectParams
source · [−]#[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: IPLDirectEffectFlags
Flags indicating which direct path effects to apply.
transmissionType: IPLTransmissionType
Mode of applying transmission effect, if \c IPL_DIRECTEFFECTFLAGS_APPLYTRANSMISSION is enabled.
distanceAttenuation: IPLfloat32
Value of distance attenuation, between 0 and 1.
airAbsorption: [IPLfloat32; 3]
3-band EQ coefficients for air absorption, each between 0 and 1.
directivity: IPLfloat32
Value of directivity term, between 0 and 1.
occlusion: IPLfloat32
Value of occlusion factor, between 0 and 1.
transmission: [IPLfloat32; 3]
3-band EQ coefficients for transmission, each between 0 and 1.
Trait Implementations
sourceimpl Clone for IPLDirectEffectParams
impl Clone for IPLDirectEffectParams
sourcefn clone(&self) -> IPLDirectEffectParams
fn clone(&self) -> IPLDirectEffectParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IPLDirectEffectParams
impl Debug for IPLDirectEffectParams
impl Copy for IPLDirectEffectParams
Auto Trait Implementations
impl RefUnwindSafe for IPLDirectEffectParams
impl Send for IPLDirectEffectParams
impl Sync for IPLDirectEffectParams
impl Unpin for IPLDirectEffectParams
impl UnwindSafe for IPLDirectEffectParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more