[LV2] LV2 event ports running out of space

David Robillard d at drobilla.net
Sat Sep 1 13:58:56 PDT 2012


On Thu, 2012-08-30 at 18:07 -0400, Jeremy Salwen wrote:
> Thinking about it more, it seems to be something that needs an
> extension.  A plugin should be able to stop processing partway through
> a chunk and say "Hey, I ran out of space for events, here's how many
> frames I finished".  Ideally it would just be the return value of the
> run function (think of an fwrite like interface), but obviously we
> can't make an incompatible change like that.  Probably just a tagged
> port like the way latency reporting works.  It can be an optional
> feature, and if a host doesn't support it, it just loses events, but
> it still works.  What do you think?

Something like http://lv2plug.in/ns/ext/resize-port/ ? :P

Implementing this dynamically can be very difficult, though.  I think
more widespread support for the static properties needs to happen, but I
don't know if dynamic resize is a realistic expectation...

-dr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20120901/637faa59/attachment.pgp>


More information about the Devel mailing list