mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Cleaned up some audio plugin creation function prototypes
This commit is contained in:
parent
dee78f29f6
commit
f3e1e52c88
11 changed files with 81 additions and 114 deletions
|
|
@ -151,12 +151,14 @@ protected:
|
|||
|
||||
AudioPluginFormat() noexcept;
|
||||
|
||||
using PluginCreationCallback = void (*) (void*, AudioPluginInstance*, const String&);
|
||||
|
||||
/** Implementors must override this function. This is guaranteed to be called on
|
||||
the message thread. You may call the callback on any thread.
|
||||
*/
|
||||
virtual void createPluginInstance (const PluginDescription&, double initialSampleRate,
|
||||
int initialBufferSize, void* userData,
|
||||
void (*callback) (void*, AudioPluginInstance*, const String&)) = 0;
|
||||
PluginCreationCallback) = 0;
|
||||
|
||||
virtual bool requiresUnblockedMessageThreadDuringCreation (const PluginDescription&) const noexcept = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue