[LV2] Morph extension

David Robillard d at drobilla.net
Tue May 29 20:59:15 PDT 2012


On Tue, 2012-05-29 at 22:03 -0400, David Robillard wrote:
[...]
> This one is pretty cut and dry, the only thing I can think of is that
> perhaps these functions should be somehow extensible to allow specifying
> other information?  Notably, AtomPort indicates its buffer type with a
> separate property, and this can't handle that... it would be nice to
> handle that case, but a special 'buffer_type' parameters seems a bit
> hacky and specific.

This made me nervous.  Attached is a version that adds parameters for
getting/setting arbitrary properties along with the port type.

... which happens to make it suspiciously close to a full-on dynamic
data set/announce interface, but I'm not sure we want to go there.

It also seems to be capable of doing everything the resize-port API
does.  That could be deprecated (it's brand new and still unused as far
as I know) but the properties would need to go somewhere.

-dr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: morph.h
Type: text/x-chdr
Size: 4629 bytes
Desc: not available
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20120529/8b46b4ff/attachment-0002.h>


More information about the Devel mailing list