diff --git a/src/main.rs b/src/main.rs index d2bd6e6..f3c24ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -164,11 +164,11 @@ impl ELGate { } } - pub fn next(&mut self, sample: f32) -> Option { + pub fn next(&mut self, sample: f32) -> Option { Some(self.next_eye(sample)?.0) // Ignore eye } - pub fn next_eye(&mut self, sample: f32) -> Option<(bool, Vec)> { + pub fn next_eye(&mut self, sample: f32) -> Option<(f32, Vec)> { self.buffer.push_front(sample); self.current_position += 1.; if self.current_position >= self.next_sample {