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

Demo plugin fix.

This commit is contained in:
jules 2012-10-22 09:49:13 +01:00
parent 422b0df651
commit 81232e6442
3 changed files with 8 additions and 2 deletions

View file

@ -372,6 +372,11 @@ bool JuceDemoPluginAudioProcessor::producesMidi() const
#endif
}
bool JuceDemoPluginAudioProcessor::silenceInProducesSilenceOut() const
{
return false;
}
//==============================================================================
// This creates new instances of the plugin..
AudioProcessor* JUCE_CALLTYPE createPluginFilter()

View file

@ -50,6 +50,7 @@ public:
bool acceptsMidi() const;
bool producesMidi() const;
bool silenceInProducesSilenceOut() const;
//==============================================================================
int getNumPrograms() { return 0; }

View file

@ -72,8 +72,8 @@ void DrawableRectangle::rebuildPath()
}
else
{
setPositioner (0);
recalculateCoordinates (0);
setPositioner (nullptr);
recalculateCoordinates (nullptr);
}
}