#include <MPlugin.h>
Inheritance diagram for MPlugin:

Public Slots | |
| virtual void | Activate () |
| virtual void | Deactivate () |
| virtual void | Run (const unsigned int n) |
| virtual void | Cleanup () |
| virtual void | SetAutoRegister (bool value) |
Public Member Functions | |
| virtual | ~MPlugin () |
| virtual LADSPA_Handle | LADSPAHandle () |
| virtual MPluginAudioInputPort * | AudioInput (const unsigned int n) const |
| virtual MPluginAudioOutputPort * | AudioOutput (const unsigned int n) const |
| virtual MPluginControlInputPort * | ControlInput (const unsigned int n) const |
| virtual MPluginControlOutputPort * | ControlOutput (const unsigned int n) const |
| virtual MAudioInputPort * | ModuleAudioInput (const unsigned int n) const |
| virtual MAudioOutputPort * | ModuleAudioOutput (const unsigned int n) const |
| virtual MControlInputPort * | ModuleControlInput (const unsigned int n) const |
| virtual MControlOutputPort * | ModuleControlOutput (const unsigned int n) const |
| virtual unsigned int | NumberOfAudioInputs () const |
| virtual unsigned int | NumberOfAudioOutputs () const |
| virtual unsigned int | NumberOfControlInputs () const |
| virtual unsigned int | NumberOfControlOutputs () const |
| virtual bool | IsAutoRegister () const |
Static Public Member Functions | |
| static MPlugin * | CreateFromDescriptor (const MPluginDescriptor *pluginDescriptor, const string &instanceName="") |
| static MPlugin * | CreateFromLibrary (const string &library, const string &label, const string &instanceName="") |
Protected Member Functions | |
| MPlugin (const LADSPA_Descriptor *descriptor, LADSPA_Handle instance, const string &instanceName) | |
| virtual void | createAudioInput (const unsigned long portNumber) |
| virtual void | createAudioOutput (const unsigned long portNumber) |
| virtual void | createControlInput (const unsigned long portNumber) |
| virtual void | createControlOutput (const unsigned long portNumber) |
Protected Attributes | |
| vector< MPluginAudioInputPort * > | _audioInput |
| vector< MPluginAudioOutputPort * > | _audioOutput |
| vector< MPluginControlInputPort * > | _controlInput |
| vector< MPluginControlOutputPort * > | _controlOutput |
| LADSPA_Handle | _instance |
| bool | _autoRegister |
By default, plugins are run ( Run( const unsigned int n ) ) every JACK cycle by the MSupervisor. To unset this default behaviour, use the MSupervisor::UnregisterPlugin method.
|
|
Destructor.
|
|
||||||||||||
|
Creates a new plugin module by instanciating pluginDescriptor.
|
|
||||||||||||||||
|
Creates a new plugin module from the name of its library and its plugin name.
|
|
|
The nth audio input port ( MPluginAudioInputPort ) of the plugin.
|
|
|
The nth audio output port ( MPluginAudioOutputPort ) of the plugin.
|
|
|
The nth control input port ( MPluginControlInputPort ) of the plugin.
|
|
|
The nth control output port ( MPluginControlOutputPort ) of the plugin.
|
|
|
The nth audio input port ( MAudioInputPort ) of the module.
Implements MModule. |
|
|
The nth audio output port ( MAudioOutputPort ) of the module.
Implements MModule. |
|
|
The nth control input port ( MControlInputPort ) of the module.
Implements MModule. |
|
|
The nth control output port ( MControlOutputPort ) of the module.
Implements MModule. |
|
|
The number of audio input ports ( MPluginAudioInputPort ) of the plugin.
Implements MModule. |
|
|
The number of audio output ports ( MPluginAudioOutputPort ) of the plugin.
Implements MModule. |
|
|
The number of control input ports ( MPluginControlInputPort ) of the plugin.
Implements MModule. |
|
|
The number of control output ports ( MPluginControlOutputPort ) of the client.
Implements MModule. |
|
|
Is the plugin automatically registered on activation ? If this is true, when the plugin is activated it will automatically register with the supervisor and then will be run once every JACK cycle by the supervisor.
|
|
|
Try to activate the module.
At the end of the method, if the module has been activated IsActive( ) should return
Implements MModule. |
|
|
Try to deactivate the module.
At the end of the method, if the module has been deactivated IsActive( ) should return
Implements MModule. |
|
|
Run the module. Ask the module to proceed a block of audio data.
Implements MModule. |
|
|
Cleans up the LADSPA instance.
|
|
|
Set the automatic registration behaviour.
|
|
|
Creates a new audio input port. Creates a MPluginAudioInputPort corresponding to the portNumberth port of the plugin descriptor. Reimplemented from MPluginDescriptor. |
|
|
Creates a new audio output port. Creates a MPluginAudioOutputPort corresponding to the the portNumberth port of the plugin descriptor. Reimplemented from MPluginDescriptor. |
|
|
Creates a new control input port. Creates a new MPluginControlInputPort corresponding to the portNumberth port of the plugin descriptor. Reimplemented from MPluginDescriptor. |
|
|
Creates a new control output port. Creates a new MPluginControlOutputPort corresponding to the portNumberth port of the plugi descriptor. Reimplemented from MPluginDescriptor. |
|
|
The audio input ports.
|
|
|
The audio output ports.
|
|
|
The control input ports.
|
|
|
The control output ports.
|
|
|
LADSPA Handle of the instance.
|
|
|
Is the plugin automatically registered on activation ?
|