[LAD] Can an LV2 plugin legally modify input port values?

Jeremy Salwen jeremysalwen at gmail.com
Tue May 22 09:25:45 UTC 2012

It's not clear to me what is legal for an LV2 plugin to do with an input
control port.  Once the input port has been read, is it acceptable to use
that location in memory as temporary storage in the "run" method?  Is it
the host's responsibility to re-fill the value of the parameter before
every run call? Is it the plugin's responsibility to keep input-ports
bit-exactly the same?

What about transformations of the input which leave the value logically the
same?  For example, normalizing boolean inputs the values 0 and 1?

The <http://lv2plug.in/ns/lv2core/#InputPort>
documentation<http://lv2plug.in/ns/lv2core/#Port>is silent on this

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120522/860e45b5/attachment.html>

More information about the Linux-audio-dev mailing list