[LAD] "enhanced event port" LV2 extension proposal
Lars Luthman
lars.luthman at gmail.com
Thu Nov 29 20:00:53 UTC 2007
On Thu, 2007-11-29 at 19:43 +0000, Krzysztof Foltman wrote:
> Lars Luthman wrote:
> And by the way - seems that the char array/union part creates more
> controversies than necessary. So we may get back to Dave's idea of
> payload being a zero-length array (no minimum length), and to 8 bytes of
> alignment instead of 16. If LV2_EVENT_HEADER is defined this way:
>
> struct LV2_EVENT_HEADER
> {
> uint32_t timestamp; // still wondering if fractional addresses should
> be a part of generic even transport spec, by the way
> uint16_t event_type;
> uint16_t size; // of payload, with space occupied rounded up to nearest 8
> };
Sure, that's fine by me. It has the added benefit that you can have 0
byte events where only the event type carries any meaning (though that
may not be much of a benefit).
> Then we may define (as another extension, perhaps) a MIDI event like this:
Another extension, yes. =)
--ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20071129/875c92c0/attachment.pgp>
More information about the Linux-audio-dev
mailing list