An example of how to use the AudioLADSPAPlugin class
#include <iostream>
int main(void)
{
std::string label("tap_pitch");
{
std::cout << "*** ERROR: Could not instantiate LADSPA plugin instance "
"with label " << label << std::endl;
exit(1);
}
prev_src = &p1;
label = "tap_vibrato";
{
std::cout << "*** ERROR: Could not instantiate LADSPA plugin instance "
"with label " << label << std::endl;
exit(1);
}
prev_src = &p2;
return 0;
}
Contains a class for handling audio input/output to an audio device.
A class for using a LADSPA plugin as an audio processor.
The core class for writing asyncronous cpp applications.
Contains a watch for file descriptors.
A class for handling audio input/output to an audio device.
bool open(Mode mode)
Open the audio device in the specified mode.
@ MODE_RDWR
Both read and write.
Use a LADSPA plugin as an audio processor.
void print(const std::string &prefix="")
Print some useful information for the plugin.
bool setControl(PortNumber portno, LADSPA_Data val)
Set a control input to the given value.
bool initialize(void)
Initialize the plugin.
The base class for an audio source.
bool registerSink(AudioSink *sink, bool managed=false)
Register an audio sink to provide samples to.
An application class for writing non GUI applications.
void exec(void)
Execute the application main loop.