|
|
|
@@ -84,6 +84,23 @@ public: |
|
|
|
AudioProcessorGraph graph;
|
|
|
|
|
|
|
|
private:
|
|
|
|
//==============================================================================
|
|
|
|
struct AsyncCallback : public AudioPluginFormat::InstantiationCompletionCallback
|
|
|
|
{
|
|
|
|
AsyncCallback(FilterGraph& g, Point<double> pos) : owner(g), position(pos)
|
|
|
|
{}
|
|
|
|
|
|
|
|
void completionCallback(AudioPluginInstance* instance, const String& error) override
|
|
|
|
{
|
|
|
|
owner.addFilterCallback(instance, error, position);
|
|
|
|
}
|
|
|
|
|
|
|
|
FilterGraph& owner;
|
|
|
|
Point<double> position;
|
|
|
|
|
|
|
|
JUCE_DECLARE_NON_COPYABLE (AsyncCallback)
|
|
|
|
};
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
AudioPluginFormatManager& formatManager;
|
|
|
|
OwnedArray<PluginWindow> activePluginWindows;
|
|
|
|
|