From 3a2be25b9b404cb6941ab06c2b035e7001951bf1 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Thu, 11 Oct 2018 10:47:49 +0100 Subject: [PATCH] Fixed a bug in AudioPluginDemo --- examples/Plugins/AudioPluginDemo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/Plugins/AudioPluginDemo.h b/examples/Plugins/AudioPluginDemo.h index 229ef5c44f..f7b428bda0 100644 --- a/examples/Plugins/AudioPluginDemo.h +++ b/examples/Plugins/AudioPluginDemo.h @@ -547,9 +547,10 @@ private: synth.renderNextBlock (buffer, midiMessages, 0, numSamples); // Apply our delay effect to the new output.. - applyDelay (buffer, delayBuffer, gainParamValue); + applyDelay (buffer, delayBuffer, delayParamValue); - applyGain (buffer, delayBuffer, delayParamValue); // apply our gain-change to the outgoing data.. + // Apply our gain change to the outgoing data.. + applyGain (buffer, delayBuffer, gainParamValue); // Now ask the host for the current time so we can store it to be displayed later... updateCurrentTimeInfoFromHost();