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

Fix some warnings in MSVC

This commit is contained in:
hogliux 2016-09-16 11:19:53 +01:00
parent 8ec9443543
commit 231a6e479d
2 changed files with 2 additions and 3 deletions

View file

@ -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";
}

View file

@ -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; }
//==============================================================================