[vlc-devel] [RFC PATCH 9/9] pulse: don't interpolate timing

Thomas Guillem thomas at gllm.fr
Thu Dec 10 18:10:15 CET 2020


When using a BT device, the timing fetch from the latency callback can
have an imprecision of 50ms from the previous one (leading to 2 frame
drops).

We don't need interpolation anymore since the VLC delay is now
propagated once the PA timing is updated.
---
 modules/audio_output/pulse.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 49de51b5ed..0bf2641a5d 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -785,7 +785,6 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
     /* Stream parameters */
     pa_stream_flags_t flags = sys->flags_force
                             | PA_STREAM_START_CORKED
-                            | PA_STREAM_INTERPOLATE_TIMING
                             | PA_STREAM_NOT_MONOTONIC
                             | PA_STREAM_AUTO_TIMING_UPDATE
                             | PA_STREAM_FIX_RATE;
-- 
2.29.2



More information about the vlc-devel mailing list