Implements a plugin format manager for VSTs.
|
| using | ExtraFunctions = AudioPluginExtensions::VSTClient::ExtraFunctions |
| using | PluginCreationCallback = std::function<void (std::unique_ptr<AudioPluginInstance>, const String&)> |
| | A callback lambda that is passed to createPluginInstanceAsync().
|
| using | ARAFactoryCreationCallback = std::function<void (ARAFactoryResult)> |
| | A callback lambda that is passed to getARAFactory().
|
| | VSTPluginFormatHeadless ()=default |
| String | getName () const override |
| | Returns the format name.
|
| bool | canScanForPlugins () const override |
| | Returns true if this format needs to run a scan to find its list of plugins.
|
| bool | isTrivialToScan () const override |
| | Should return true if this format is both safe and quick to scan - i.e.
|
| void | findAllTypesForFile (OwnedArray< PluginDescription > &, const String &fileOrIdentifier) override |
| | This tries to create descriptions for all the plugin types available in a binary module file.
|
| bool | fileMightContainThisPluginType (const String &fileOrIdentifier) override |
| | Should do a quick check to see if this file or directory might be a plugin of this format.
|
| String | getNameOfPluginFromIdentifier (const String &fileOrIdentifier) override |
| | Returns a readable version of the name of the plugin that this identifier refers to.
|
| bool | pluginNeedsRescanning (const PluginDescription &) override |
| | Returns true if this plugin's version or date has changed and it should be re-checked.
|
| StringArray | searchPathsForPlugins (const FileSearchPath &, bool recursive, bool) override |
| | Searches a suggested set of directories for any plugins in this format.
|
| bool | doesPluginStillExist (const PluginDescription &) override |
| | Checks whether this plugin could possibly be loaded.
|
| FileSearchPath | getDefaultLocationsToSearch () override |
| | Returns the typical places to look for this kind of plugin.
|
| virtual void | aboutToScanVSTShellPlugin (const PluginDescription &) |
| | Can be overridden to receive a callback when each member of a shell plugin is about to be tested during a call to findAllTypesForFile().
|
| | ~AudioPluginFormat () override |
| | Destructor.
|
| std::unique_ptr< AudioPluginInstance > | createInstanceFromDescription (const PluginDescription &, double initialSampleRate, int initialBufferSize) |
| | Tries to recreate a type from a previously generated PluginDescription.
|
| std::unique_ptr< AudioPluginInstance > | createInstanceFromDescription (const PluginDescription &, double initialSampleRate, int initialBufferSize, String &errorMessage) |
| | Same as above but with the possibility of returning an error message.
|
| void | createPluginInstanceAsync (const PluginDescription &description, double initialSampleRate, int initialBufferSize, PluginCreationCallback) |
| | Tries to recreate a type from a previously generated PluginDescription.
|
| virtual void | createARAFactoryAsync (const PluginDescription &, ARAFactoryCreationCallback callback) |
| | Tries to create an ::ARAFactoryWrapper for this description.
|
| | AudioPluginFormat () |