pa_simple_new(): default buffering attributes
@pmeerw
Submitted by Peter Meerwald Assigned to pul..@..op.org
Description
the pacat-simple.c programs gives me around 230799 usec latency (when passing NULL for buffer attributes to pa_simple_new())
when I pass the following struct
pa_buffer_attr ba;
ba.maxlength = -1; // Maximum length of the buffer
ba.tlength = -1; // Target length
ba.prebuf = -1; // Pre-buffering
ba.minreq = -1; // Minimum request
ba.fragsize = -1; // Fragment size
to pa_simple_new(), I get around 1950000 usec latency (as reported by pa_simple_get_latency()) -- I would expect to get the same behavior passing NULL or above struct since -1 in pa_buffer_attr means 'default value' according to http://freedesktop.org/software/pulseaudio/doxygen/structpa__buffer__attr.html#details
this is on Ubuntu natty, pulseaudio 0.9.22