Browse Source

Fixed a bug in AudioPluginDemo

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
3a2be25b9b
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      examples/Plugins/AudioPluginDemo.h

+ 3
- 2
examples/Plugins/AudioPluginDemo.h View File

@@ -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();


Loading…
Cancel
Save