PortType Namespace Reference

RealTimePluginInstance is an interface that an audio process can use to refer to an instance of a plugin without needing to know what type of plugin it is. More...

Variables

static const int Input = 1
 
static const int Output = 2
 
static const int Control = 4
 
static const int Audio = 8
 

Detailed Description

RealTimePluginInstance is an interface that an audio process can use to refer to an instance of a plugin without needing to know what type of plugin it is.

The audio code calls run() on an instance that has been passed to it, and assumes that the passing code has already initialised the plugin, connected its inputs and outputs and so on, and that there is an understanding in place about the sizes of the buffers in use by the plugin. All of this depends on the subclass implementation.

The PluginInstance base class includes additional abstract methods which the subclass of RealTimePluginInstance must implement.

Variable Documentation

const int PortType::Input = 1
static
const int PortType::Output = 2
static
const int PortType::Control = 4
static
const int PortType::Audio = 8
static