diff --git a/examples/Plugins/DSPModulePluginDemo.h b/examples/Plugins/DSPModulePluginDemo.h index c115f49165..c19ffd42eb 100644 --- a/examples/Plugins/DSPModulePluginDemo.h +++ b/examples/Plugins/DSPModulePluginDemo.h @@ -511,7 +511,7 @@ private: setLatencySamples (audioCurrentlyOversampled ? roundToInt (oversampling->getLatencyInSamples()) : 0); if (audioCurrentlyOversampled) - oversampledBlock = oversampling->processSamplesUp (context.getInputBlock()); + oversampledBlock = oversampling->processSamplesUp (context.getOutputBlock()); auto waveshaperContext = audioCurrentlyOversampled ? dsp::ProcessContextReplacing (oversampledBlock) : context;