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

Peter Meerwald pmeerw at pmeerw.net
Mon Oct 27 02:20:08 PDT 2014


> 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)


More information about the pulseaudio-discuss mailing list