diff --git a/src/processors/drive/neural_utils/ResampledRNNAccelerated.h b/src/processors/drive/neural_utils/ResampledRNNAccelerated.h index cb37116f..804579be 100644 --- a/src/processors/drive/neural_utils/ResampledRNNAccelerated.h +++ b/src/processors/drive/neural_utils/ResampledRNNAccelerated.h @@ -32,7 +32,7 @@ class ResampledRNNAccelerated } else { - jassert ((int) condition_data.size() == bufferView.getNumSamples()); + jassert ((int) condition_data.size() == data.size()); model.process_conditioned (data, condition_data, useResiduals); } }); @@ -54,6 +54,7 @@ class ResampledRNNAccelerated template void process (const juce::dsp::AudioBlock& block, std::span condition_data = {}) noexcept { + jassert (block.getNumChannels() == 1); const auto bufferView = chowdsp::BufferView { block }; process (bufferView.getWriteSpan (0), condition_data); }