Re: [LAD] "enhanced event port" LV2 extension proposal

From: Lars Luthman <lars.luthman@email-addr-hidden>
Date: Thu Nov 29 2007 - 22:00:53 EET

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Received on Fri Nov 30 00:15:09 2007

This archive was generated by hypermail 2.1.8 : Fri Nov 30 2007 - 00:15:09 EET