fix: use correct nih-plug API to access channel samples
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
@@ -102,8 +102,9 @@ impl Plugin for ClipLauncher {
|
||||
}
|
||||
|
||||
// Process audio
|
||||
for channel_samples in buffer.iter_samples() {
|
||||
let (input, output): (&[f32], &mut [f32]) = channel_samples.into();
|
||||
for channel in buffer.channels() {
|
||||
let input = channel.inputs;
|
||||
let output = channel.outputs;
|
||||
let num_samples = input.len();
|
||||
|
||||
// Process this block
|
||||
|
||||
Reference in New Issue
Block a user