This commit is contained in:
Jamie Hardt 2024-07-14 11:06:43 -07:00
parent e2ed0296e0
commit aa2edb3dab

View file

@ -90,7 +90,8 @@ where
); );
} }
self.elapsed_ns += 1000000000.0 / (self.input.sample_rate() as f32 * self.channels() as f32); self.elapsed_ns +=
1000000000.0 / (self.input.sample_rate() as f32 * self.channels() as f32);
self.input.next().map(|value| value.amplify(factor)) self.input.next().map(|value| value.amplify(factor))
} }