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:
parent
422b0df651
commit
81232e6442
3 changed files with 8 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ public:
|
|||
|
||||
bool acceptsMidi() const;
|
||||
bool producesMidi() const;
|
||||
bool silenceInProducesSilenceOut() const;
|
||||
|
||||
//==============================================================================
|
||||
int getNumPrograms() { return 0; }
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ void DrawableRectangle::rebuildPath()
|
|||
}
|
||||
else
|
||||
{
|
||||
setPositioner (0);
|
||||
recalculateCoordinates (0);
|
||||
setPositioner (nullptr);
|
||||
recalculateCoordinates (nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue