Trait Dither
pub trait Dither<F, T>{
// Required method
fn dither(&mut self, sample: F) -> F;
}
Available on crate feature
dep_symphonia
only.Expand description
Dither
is a trait for implementing dithering algorithms.
Required Methods§
fn dither(&mut self, sample: F) -> F
fn dither(&mut self, sample: F) -> F
Dithers a Sample
of source sample format F
for an eventual conversion to the
destination sample format T
.