We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545ccbd commit 5b48747Copy full SHA for 5b48747
src/node/script_processor.rs
@@ -342,7 +342,7 @@ mod tests {
342
// 2 input channels, 2 output channels
343
let node = context.create_script_processor(BUFFER_SIZE, 2, 2);
344
node.connect(&context.destination());
345
- node.set_onaudioprocess(|e| {
+ node.set_onaudioprocess(|mut e| {
346
// left output buffer is left input * 2
347
e.output_buffer
348
.get_channel_data_mut(0)
0 commit comments