Function
delay_len
(sample_rate: usize, channels: usize, seconds: f32)
Source from the content-addressed store, hash-verified
| 275 | let reverb_wet = params |
| 276 | .reverb_send |
| 277 | .max(params.reflection * 0.25) |
| 278 | .clamp(0.0, 1.0); |
| 279 | // All-dry: the wet mix collapses to a passthrough, so skip the three |
| 280 | // delay-line read/writes entirely. |
| 281 | if echo_wet > WET_EPSILON || reverb_wet > WET_EPSILON { |
| 282 | // Dry source that just turned wet: pick up the lines the worker |
| 283 | // staged. Only tried on a param-refresh boundary, and never blocks. |
| 284 | if self.wet.is_none() && self.param_counter == 1 { |
Tested by
no test coverage detected