LADSPA is the Linux Audio Developers' Simple Plugin Architecture.
This document describes how to write LADSPA plugins and how to write hosts, which are programs that use LADSPA plugins,
This documentation is currently extremely incomplete.
Please be aware that the
ladspa.h file is the official, definitive guide
to the standard.
There are several common bits of terminology:
A shared library that can be loaded
and unloaded "on-the-fly". Under linux we open plugins using
a single sound-producing/consuming
type identified with a descriptor whose
A plugin library may contain several plugin descriptors,
each with an index within plugin library. The indices
must be consecutive and start with 0.
is a single running unit generator.
There is a standard way to make plugin instances from plugins.
In the host, we identify the instance by a handle
whose type is
The program which will load the plugins.
The standard describes the binary interface for a plugin library to present its plugins to the host.
dlopen or for glib, gtk+ users,
ladspa_descriptor function, which may allocate memory.
to allocate a new (or several new) sample-processing instances.
activate before running samples
through the plugin.
run_adding. The host may reconnect ports with
as it sees fit.
_fini function is responsible
for deallocating memory.