diff --git a/sflphone-common/src/audio/pulseaudio/audiostream.cpp b/sflphone-common/src/audio/pulseaudio/audiostream.cpp index 6a8609747e889016e75e3d960fbd5a5de73d1643..0ff3956bb156d8d99a8e999041e8c203014f1dde 100644 --- a/sflphone-common/src/audio/pulseaudio/audiostream.cpp +++ b/sflphone-common/src/audio/pulseaudio/audiostream.cpp @@ -226,7 +226,7 @@ AudioStream::createStream (pa_context* c, std::string *deviceName) attributes->minreq = (uint32_t) -1; pa_threaded_mainloop_lock(_mainloop); - pa_stream_connect_playback(s, NULL, attributes, (pa_stream_flags_t) (PA_STREAM_NOFLAGS), NULL, NULL); + pa_stream_connect_playback(s, NULL, attributes, (pa_stream_flags_t) (PA_STREAM_ADJUST_LATENCY|PA_STREAM_AUTO_TIMING_UPDATE), NULL, NULL); pa_threaded_mainloop_unlock(_mainloop); } else if (_streamType == UPLOAD_STREAM) {