On 29 Jan 2007, at 15:23, 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.
/delurk
What does "chop the run block" mean?
/relurk
Imagine you have a block of 1024 samples, and at sample 24 a control
value changes from 1 to 2, you could do:
plugin->port = 2.0;
plugin->run(1024);
which puts the control value change in slightly the wrong place, or
you could do: (chopping)
plugin->port = 1.0;
plugin->run(24);
plugin->port = 2.0;
plugin->run(1000);
It's not a technical term or anything, I just needed a word :)
- Steve