pulseaudio/src
Sanchayan Maity 1781031c8b modules: rtp-gstreamer: Fix RTP sound lag
In the current scenario of reading samples from the appsink, it is
observed that we do not actually read all the data available in the
appsink to read. This results in a choppy sound or heard as gaps in
the playback.

The underlying reason for this happening is as follows. Let's say
the appsink new sample callback is called 2-3 times, but, with the
underlying fdsem post machinery when pa_rtp_recv eventually gets
called, there would be those 2-3 samples to read. However, we were
only reading one sample in the current implementation.

Fix this by reading all samples from the appsink in a loop, coalescing
them and then writing to the memchunk.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/889

Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>
2020-08-10 12:36:17 +00:00
..
daemon daemon: Add --log-target=journal to pulseaudio.service 2020-03-11 10:46:04 +00:00
modules modules: rtp-gstreamer: Fix RTP sound lag 2020-08-10 12:36:17 +00:00
pulse device-port: add type member 2020-06-17 06:06:12 +00:00
pulsecore device-port: send sink and source change events when availability changes 2020-07-22 22:53:54 +00:00
tests meson: Add missing thread_dep to atomic-test 2020-08-09 03:29:23 +02:00
utils pactl: print device port type and available group 2020-06-17 06:06:12 +00:00
.gitignore gitignore: Ignore hashmap-test 2020-08-06 14:34:56 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am build: Make alsadatadir configurable 2020-08-09 01:57:01 +00:00
map-file thread-mainloop: Add API for running a callback unlocked 2019-03-31 09:18:37 +00:00
meson.build meson: Remove libpulse dep from libpulsecore 2020-04-09 14:51:21 +00:00