The AudioPluginManager is used to create AudioProcessor instances to be placed into the audio processing pipeline. More...
#include <foleys_AudioPluginManager.h>
Public Member Functions | |
| AudioPluginManager (VideoEngine &videoEngine) | |
| void | registerAudioProcessor (const juce::String &identifierString, std::function< std::unique_ptr< juce::AudioProcessor >()>) |
| Register a factory to return an AudioProcessor instance from an identifierString. | |
| std::unique_ptr< juce::AudioProcessor > | createAudioPluginInstance (const juce::String &identifierString, double sampleRate, int blockSize, juce::String &error) const |
| Creates an actual instance of an AudioPlugin. | |
| juce::Array< juce::PluginDescription > | getKnownPluginDescriptions () const |
| void | setPluginDataFile (const juce::File &file) |
| Set a file to save the results of plugin scanning to. | |
The AudioPluginManager is used to create AudioProcessor instances to be placed into the audio processing pipeline.
You can add support for 3rd party plugins here.
| AudioPluginManager | ( | VideoEngine & | videoEngine | ) |
| void registerAudioProcessor | ( | const juce::String & | identifierString, |
| std::function< std::unique_ptr< juce::AudioProcessor >()> | factory | ||
| ) |
Register a factory to return an AudioProcessor instance from an identifierString.
This is used for built in AudioProcessors.
| std::unique_ptr< juce::AudioProcessor > createAudioPluginInstance | ( | const juce::String & | identifierString, |
| double | sampleRate, | ||
| int | blockSize, | ||
| juce::String & | error | ||
| ) | const |
Creates an actual instance of an AudioPlugin.
It will try the first the built in factories, and then the AudioPlugins that were found on the system.
Referenced by VideoEngine::createAudioPluginInstance().
| juce::Array< juce::PluginDescription > getKnownPluginDescriptions | ( | ) | const |
| void setPluginDataFile | ( | const juce::File & | file | ) |
Set a file to save the results of plugin scanning to.
It will read first, if the file exists. On success, it writes the plugin database to the file.
References VideoEngine::addJob().