Enum compressor::even_gain_fn::Average
[−]
[src]
pub enum Average {}
An EvenGainFunction that yields the average between each of the produced channel gains.
Trait Implementations
impl Copy for Average
[src]
impl Clone for Average
[src]
fn clone(&self) -> Average
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Average
[src]
impl EvenGainFunction for Average
[src]
fn next_gain<F, D>(
compressor: &mut Compressor<F, D, Self>,
frame: F
) -> <F::Sample as Sample>::Float where
F: Frame,
D: Detector<F>,
compressor: &mut Compressor<F, D, Self>,
frame: F
) -> <F::Sample as Sample>::Float where
F: Frame,
D: Detector<F>,
The next compressor gain for the Frame
.
The returned gain is the average between each of the channel gains.