[LAD] "enhanced event port" LV2 extension proposal

Dave Robillard drobilla at connect.carleton.ca
Sat Dec 1 18:38:58 UTC 2007

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

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.


More information about the Linux-audio-dev mailing list