[linux-audio-dev] LADSPA needs & wishes
lars.luthman at gmail.com
Mon Jan 29 15:33:11 UTC 2007
On Mon, 2007-01-29 at 10:23 -0500, Paul Winkler wrote:
> On Mon, Jan 29, 2007 at 08:08:37AM +0000, Steve Harris wrote:
> > Ah, well the host is not supposed to change port values during run()
> > anyway, the idea in LADSPA (and LV2) is that the host should chop the
> > run() block where port values change.
> What does "chop the run block" mean?
If the host is normally running with period size 1024 (mandated by JACK
for example) but at some point wants to change one of the plugin's
control parameters 326 frames into a period, it will have to chop the
period into two pieces, [0-325] and [326-1023]. It will then call
run(326) in the plugin to generate/process the first 326 frames, then
change the control parameter value, then call run(698) to
generate/process the rest of the frames.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Linux-audio-dev