|
| VSTPluginFormat () |
|
| ~VSTPluginFormat () override |
|
String | getName () const override |
| Returns the format name. More...
|
|
bool | canScanForPlugins () const override |
| Returns true if this format needs to run a scan to find its list of plugins. More...
|
|
bool | isTrivialToScan () const override |
| Should return true if this format is both safe and quick to scan - i.e. More...
|
|
void | findAllTypesForFile (OwnedArray< PluginDescription > &, const String &fileOrIdentifier) override |
| This tries to create descriptions for all the plugin types available in a binary module file. More...
|
|
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. More...
|
|
String | getNameOfPluginFromIdentifier (const String &fileOrIdentifier) override |
| Returns a readable version of the name of the plugin that this identifier refers to. More...
|
|
bool | pluginNeedsRescanning (const PluginDescription &) override |
| Returns true if this plugin's version or date has changed and it should be re-checked. More...
|
|
StringArray | searchPathsForPlugins (const FileSearchPath &, bool recursive, bool) override |
| Searches a suggested set of directories for any plugins in this format. More...
|
|
bool | doesPluginStillExist (const PluginDescription &) override |
| Checks whether this plugin could possibly be loaded. More...
|
|
FileSearchPath | getDefaultLocationsToSearch () override |
| Returns the typical places to look for this kind of plugin. More...
|
|
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(). More...
|
|
| ~AudioPluginFormat () override |
| Destructor. More...
|
|
std::unique_ptr< AudioPluginInstance > | createInstanceFromDescription (const PluginDescription &, double initialSampleRate, int initialBufferSize) |
| Tries to recreate a type from a previously generated PluginDescription. More...
|
|
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. More...
|
|
void | createPluginInstanceAsync (const PluginDescription &description, double initialSampleRate, int initialBufferSize, PluginCreationCallback) |
| Tries to recreate a type from a previously generated PluginDescription. More...
|
|
|
static const XmlElement * | getVSTXML (AudioPluginInstance *plugin) |
| Attempts to retrieve the VSTXML data from a plugin. More...
|
|
static bool | loadFromFXBFile (AudioPluginInstance *plugin, const void *data, size_t dataSize) |
| Attempts to reload a VST plugin's state from some FXB or FXP data. More...
|
|
static bool | saveToFXBFile (AudioPluginInstance *plugin, MemoryBlock &result, bool asFXB) |
| Attempts to save a VST's state to some FXP or FXB data. More...
|
|
static bool | getChunkData (AudioPluginInstance *plugin, MemoryBlock &result, bool isPreset) |
| Attempts to get a VST's state as a chunk of memory. More...
|
|
static bool | setChunkData (AudioPluginInstance *plugin, const void *data, int size, bool isPreset) |
| Attempts to set a VST's state from a chunk of memory. More...
|
|
static AudioPluginInstance * | createCustomVSTFromMainCall (void *entryPointFunction, double initialSampleRate, int initialBufferSize) |
| Given a suitable function pointer to a VSTPluginMain function, this will attempt to instantiate and return a plugin for it. More...
|
|
static void | setExtraFunctions (AudioPluginInstance *plugin, ExtraFunctions *functions) |
| Provides an ExtraFunctions callback object for a plugin to use. More...
|
|
static pointer_sized_int JUCE_CALLTYPE | dispatcher (AudioPluginInstance *, int32, int32, pointer_sized_int, void *, float) |
| This simply calls directly to the VST's AEffect::dispatcher() function. More...
|
|
static AudioPluginInstance * | getPluginInstanceFromVstEffectInterface (void *aEffect) |
| Given a VstEffectInterface* (aka vst::AEffect*), this will return the juce AudioPluginInstance that is being used to wrap it. More...
|
|
static String | getFormatName () |
|
Implements a plugin format manager for VSTs.
This tries to create descriptions for all the plugin types available in a binary module file.
The file will be some kind of DLL or bundle.
Normally there will only be one type returned, but some plugins (e.g. VST shells) can use a single DLL to create a set of different plugin subtypes, so in that case, each subtype is returned as a separate object.
Implements AudioPluginFormat.