[PATCH RFC 07/17] packet: Make pa_packet_new() create fixed-size packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 25.10.2014 03:21, Peter Meerwald wrote:
> > +#define MAX_APPENDED_SIZE 128
> 
> We have that #define both in packet.c and in tagstruct.c. Do I 
> understand correctly that they are unrelated and everything will work 
> correctly if the values in these two files are different?
> 
> Other than that, the patch is a nice cleanup that gets rid of some 
> pointer arithmetics and casts.

yes, they are unrelated

the size is choosen such that often recurring datagrams (other than 
for setup and audio data) fit; I didn't try hard to find a lower value...

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux