Browse Source

Fix some warnings in MSVC

tags/2021-05-28
hogliux 9 years ago
parent
commit
231a6e479d
2 changed files with 2 additions and 3 deletions
  1. +2
    -2
      examples/PlugInSamples/Surround/Source/SurroundEditor.h
  2. +0
    -1
      examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp

+ 2
- 2
examples/PlugInSamples/Surround/Source/SurroundEditor.h View File

@@ -92,8 +92,8 @@ public:
private: private:
String getLayoutName() const 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"; return "Unknown";
} }


+ 0
- 1
examples/PlugInSamples/Surround/Source/SurroundProcessor.cpp View File

@@ -109,7 +109,6 @@ public:
const String getName() const override { return "Surround PlugIn"; } const String getName() const override { return "Surround PlugIn"; }
bool acceptsMidi() const override { return false; } bool acceptsMidi() const override { return false; }
bool producesMidi() const override { return false; } bool producesMidi() const override { return false; }
bool silenceInProducesSilenceOut() const override { return true; }
double getTailLengthSeconds() const override { return 0; } double getTailLengthSeconds() const override { return 0; }
//============================================================================== //==============================================================================


Loading…
Cancel
Save