1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a compile error in the DSPModulePluginDemo example

This commit is contained in:
ed 2019-03-26 18:31:30 +00:00
parent 6567a7607f
commit 0bc37d210e

View file

@ -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<float> (oversampledBlock)
: context;