Skip to main content

audiograph/
sample.rs

1/// A floating-point sample type that can be used for audio processing
2pub trait Sample: num::Float + Default + std::ops::Add + std::ops::AddAssign {}
3impl<T> Sample for T where T: num::Float + Default + std::ops::Add + std::ops::AddAssign {}