fix audio

This commit is contained in:
brevalferrari 2025-06-05 19:46:23 +02:00
parent 6a6d6c1270
commit 5651af2ac5

View file

@ -426,7 +426,7 @@ impl Context {
length length
} > *self.get("t")? - curr_t + (1f64 / SAMPLE_RATE as f64) } > *self.get("t")? - curr_t + (1f64 / SAMPLE_RATE as f64)
{ {
result.push(Self::eval_with(&self.instrument, &mut self.variables)? * f64::MAX); result.push(Self::eval_with(&self.instrument, &mut self.variables)?);
self = self.tick()?; self = self.tick()?;
} }
Ok((self, result)) Ok((self, result))