This commit is contained in:
2025-10-03 12:33:10 +02:00

View File

@ -164,11 +164,11 @@ impl ELGate {
}
}
pub fn next(&mut self, sample: f32) -> Option<f32> {
pub fn next(&mut self, sample: f32) -> Option<bool> {
Some(self.next_eye(sample)?.0) // Ignore eye
}
pub fn next_eye(&mut self, sample: f32) -> Option<(f32, Vec<f32>)> {
pub fn next_eye(&mut self, sample: f32) -> Option<(bool, Vec<f32>)> {
self.buffer.push_front(sample);
self.current_position += 1.;
if self.current_position >= self.next_sample {