Trait IntoSample
pub trait IntoSample<T> {
// Required method
fn into_sample(self) -> T;
}
Available on crate feature
dep_symphonia
only.Expand description
IntoSample
implements a conversion from Self
to Sample
type T
.
This may be a lossy conversion if converting from a sample type of higher precision to one of lower precision. No dithering is applied.