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

From: Dave Robillard <drobilla@email-addr-hidden>
Date: Sat Dec 01 2007 - 20:38:58 EET

On Fri, 2007-11-30 at 10:42 +0000, Krzysztof Foltman wrote:
> Dave Robillard wrote:
>
> > Sigh. In /this case/ they are the same, because the data directly
> > follows
>
> Sort it out with gcc, not with me :)

The struct does not actually exist, its sizeof is irrelevant.

> And if you meant that event->buf is still a pointer, buf the value of
> event->buf will always be (&buf)+1
[snip]

The data is at &buf. That's all. The sole significance of that struct
member is that the data is at &buf. It doesn't matter in any way
whatsoever what that struct member is. Honest. ;)

Read the comment... the buffer format couldn't be more clear.

-DR-

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sun Dec 2 00:15:02 2007

This archive was generated by hypermail 2.1.8 : Sun Dec 02 2007 - 00:15:02 EET