diff --git a/sflphone-common/src/audio/pulseaudio/audiostream.cpp b/sflphone-common/src/audio/pulseaudio/audiostream.cpp index c99ffd286ec85f3828ac98ab5b1ac806ea1353be..4591770a1d38907138f8826888dc1efca4e22565 100644 --- a/sflphone-common/src/audio/pulseaudio/audiostream.cpp +++ b/sflphone-common/src/audio/pulseaudio/audiostream.cpp @@ -186,7 +186,7 @@ AudioStream::createStream (pa_context* c) if (_streamType == PLAYBACK_STREAM) { attributes->maxlength = 32000; attributes->tlength = 8192; - attributes->prebuf = 4096; + attributes->prebuf = 2048; attributes->minreq = 512; attributes->fragsize = (uint32_t) -1; pa_stream_connect_playback( s , NULL , attributes, PA_STREAM_INTERPOLATE_TIMING, &_volume, NULL); @@ -198,7 +198,7 @@ AudioStream::createStream (pa_context* c) attributes->maxlength = 16000; attributes->tlength = 8192; - attributes->prebuf = 4096; + attributes->prebuf = 2048; attributes->minreq = 512; attributes->fragsize = (uint32_t) -1;