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

AudioPluginHost: Allow out-of-process scanner to scan AUv3 plugins

This commit is contained in:
reuk 2022-01-17 16:03:29 +00:00
parent 53f8650ba3
commit 6c046ffc04
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
3 changed files with 61 additions and 32 deletions

View file

@ -137,6 +137,9 @@ public:
*/
virtual FileSearchPath getDefaultLocationsToSearch() = 0;
/** Returns true if instantiation of this plugin type must be done from a non-message thread. */
virtual bool requiresUnblockedMessageThreadDuringCreation (const PluginDescription&) const = 0;
protected:
//==============================================================================
friend class AudioPluginFormatManager;
@ -149,9 +152,6 @@ protected:
virtual void createPluginInstance (const PluginDescription&, double initialSampleRate,
int initialBufferSize, PluginCreationCallback) = 0;
/** Returns true if instantiation of this plugin type must be done from a non-message thread. */
virtual bool requiresUnblockedMessageThreadDuringCreation (const PluginDescription&) const = 0;
private:
struct AsyncCreateMessage;
void handleMessage (const Message&) override;