From 2cb74eccd4ed994bbabf6511d2975f33aaa28e11 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Fri, 1 May 2026 00:21:22 +0000 Subject: [PATCH] fix: use iter_samples() instead of channels() for audio processing Co-authored-by: aider (deepseek/deepseek-coder) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e78767f..5022ba4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -102,7 +102,7 @@ impl Plugin for ClipLauncher { } // Process audio - for channel in buffer.channels() { + for channel in buffer.iter_samples() { let input = channel.inputs; let output = channel.outputs; let num_samples = input.len();