[linux-audio-dev] LADSPA plugin parameters realtime control

Ralf Beck musical_snake at gmx.de
Sat Jul 9 15:26:39 UTC 2005


Am Samstag, 9. Juli 2005 14:45 schrieb Paul Davis:
> On Sat, 2005-07-09 at 15:24 +0300, Artemio wrote:
> > Hello all!
> >
> > I am here to ask you one thing. If I want sample-precise realtime
> > control for the plugin, should I be getting all the parameters inside
> > the cycle which travels through the buffer contents?
>

You cannot get control data at special sample positions within the
current processing buffer with LADSPA.
And if you're lucky enough to have a host that breaks down a jack buffer
into smaller buffers, so you get the control data at the correct sample 
position, you will have to check all your control ports on whether any of its
contents changed. This is the biggest design flaw of LADSPA.

Paul, remember the small addition to the LADSPA API that i proposed on IRC
yesterday that solves this? ;-)

Ralf



More information about the Linux-audio-dev mailing list