mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#2598] Enlarge requested latency when creating audio streams
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user