Struct alto::efx::DistortionEffect
[−]
[src]
pub struct DistortionEffect { /* fields omitted */ }
AL_EFFECT_DISTORTION
Methods
impl DistortionEffect
[src]
fn edge(&self) -> f32
alGetEffectf(AL_DISTORTION_EDGE)
fn set_edge(&mut self, value: f32) -> AltoResult<()>
alEffectf(AL_DISTORTION_EDGE)
fn lowpass_cutoff(&self) -> f32
alGetEffectf(AL_DISTORTION_LOWPASS_CUTOFF)
fn set_lowpass_cutoff(&mut self, value: f32) -> AltoResult<()>
alEffectf(AL_DISTORTION_LOWPASS_CUTOFF)
fn eqcenter(&self) -> f32
alGetEffectf(AL_DISTORTION_EQCENTER)
fn set_eqcenter(&mut self, value: f32) -> AltoResult<()>
alEffectf(AL_DISTORTION_EQCENTER)
fn eqbandwidth(&self) -> f32
alGetEffectf(AL_DISTORTION_EQBANDWIDTH)
fn set_eqbandwidth(&mut self, value: f32) -> AltoResult<()>
alEffectf(AL_DISTORTION_EQBANDWIDTH)
Trait Implementations
impl Effect for DistortionEffect
[src]
fn new(ctx: Context) -> AltoResult<DistortionEffect>
fn context(&self) -> &Context
Context from which this effect was created.
fn as_raw(&self) -> ALuint
Raw handle as provided by OpenAL.