diff --git a/src/downmix.rs b/src/downmix.rs index 2710dc5..3933625 100644 --- a/src/downmix.rs +++ b/src/downmix.rs @@ -1,4 +1,4 @@ -use crate::{Frame, Sample, Signal}; +use crate::{Frame, Sample, Seek, Signal}; /// Sums all channels together /// @@ -37,7 +37,14 @@ where } } -// TODO: impl Seek +impl Seek for Downmix +where + T::Frame: Frame, +{ + fn seek(&mut self, seconds: f32) { + self.0.seek(seconds); + } +} #[cfg(test)] mod tests {