Commit 7ce308c9 authored by Adrien Maglo's avatar Adrien Maglo Committed by Thomas Guillem

pulse: increase the target length in low latency mode

This fixes audio glitches on some configuration.
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent f611e839
......@@ -816,7 +816,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
/* Setup low latency in order to quickly react to ambisonics
* filters viewpoint changes. */
flags |= PA_STREAM_ADJUST_LATENCY;
attr.tlength = pa_usec_to_bytes(2 * AOUT_MIN_PREPARE_TIME, &ss);
attr.tlength = pa_usec_to_bytes(3 * AOUT_MIN_PREPARE_TIME, &ss);
}
if (encoding != PA_ENCODING_PCM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment