diff --git a/examples/PlugInSamples/Surround/Source/SurroundEditor.h b/examples/PlugInSamples/Surround/Source/SurroundEditor.h index af8e3fc1b8..23871c0710 100644 --- a/examples/PlugInSamples/Surround/Source/SurroundEditor.h +++ b/examples/PlugInSamples/Surround/Source/SurroundEditor.h @@ -92,8 +92,8 @@ public: private: String getLayoutName() const { - if (AudioProcessor* processor = getAudioProcessor()) - return processor->busArrangement.outputBuses.getReference (0).channels.getDescription(); + if (AudioProcessor* p = getAudioProcessor()) + return p->busArrangement.outputBuses.getReference (0).channels.getDescription(); return "Unknown"; } diff --git a/examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp b/examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp index dda4190106..60a0757996 100644 --- a/examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp +++ b/examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp @@ -109,7 +109,6 @@ public: const String getName() const override { return "Surround PlugIn"; } bool acceptsMidi() const override { return false; } bool producesMidi() const override { return false; } - bool silenceInProducesSilenceOut() const override { return true; } double getTailLengthSeconds() const override { return 0; } //==============================================================================