Skip to content

Commit 390babf

Browse files
committed
fix: do not assume curve is centered around zero
1 parent dbe3556 commit 390babf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/node/waveshaper.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,6 @@ impl AudioProcessor for WaveShaperRenderer {
393393
let input = &inputs[0];
394394
let output = &mut outputs[0];
395395

396-
if input.is_silent() {
397-
output.make_silent();
398-
return false;
399-
}
400-
401396
*output = input.clone();
402397

403398
if let Some(curve) = &self.curve {

0 commit comments

Comments
 (0)