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

From: Jeremy Salwen <jeremysalwen@email-addr-hidden>
Date: Tue May 22 2012 - 12:25:45 EEST

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
matter.

Jeremy

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue May 22 16:15:02 2012

This archive was generated by hypermail 2.1.8 : Tue May 22 2012 - 16:15:02 EEST