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