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@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to