[#2598] Enlarge requested latency when creating audio streams

This commit is contained in:
Alexandre Savard
2009-12-18 13:34:51 -05:00
parent d538725766
commit 43f290878f

View File

@ -202,7 +202,7 @@ AudioStream::createStream (pa_context* c)
// 20 ms framesize TODO: take framesize value from config
attributes->maxlength = (uint32_t) -1;
attributes->tlength = pa_usec_to_bytes (50 * PA_USEC_PER_MSEC, &sample_spec);
attributes->tlength = pa_usec_to_bytes (100 * PA_USEC_PER_MSEC, &sample_spec);
attributes->prebuf = 0;
attributes->minreq = (uint32_t) -1;
attributes->fragsize = (uint32_t) -1;