pulseaudio/src
Tanu Kaskinen 0da87df4ec combine: Keep the timer active in the null mode only when running.
Previously thread_func() used PA_SINK_IS_OPENED() to check whether
some data should be rendered. process_render_null() used a different
check: it would return immediately if the sink was not in the RUNNING
state. This caused a busy loop when the sink was in the IDLE state,
because process_render_null() didn't update the timestamp, and
thread_func() still kept the timer active using the old timestamp.
pa_rtpoll_run() would return immediately because of the old timestamp.

This is fixed by using the same check in both thread_func() and
process_render_null(). Since the checks are the same, it's actually
redundant to have the check in process_render_null(), so it is now an
assertion.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=54779
2012-10-30 16:30:08 +02:00
..
daemon daemon: Fix redundant redeclaration warning 2012-10-22 17:56:10 +03:00
modules combine: Keep the timer active in the null mode only when running. 2012-10-30 16:30:08 +02:00
pulse core: Proper poll() emulation to fix pacat and friends on Windows 2012-10-30 16:22:18 +05:30
pulsecore resampler: Make sure that there are no overflows when multiplying potentially big numbers. 2012-10-30 16:21:35 +02:00
tests tests: Fix a cpu-test debug message 2012-10-30 15:00:45 +05:30
utils pacat: Replace read(), write() with pa_* equivalent. 2012-10-23 12:12:37 +05:30
.gitignore .gitignore: Add cpu-test. 2012-09-07 17:22:10 +03:00
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am core: Proper poll() emulation to fix pacat and friends on Windows 2012-10-30 16:22:18 +05:30
map-file introspect: Add functions to handle the latency offset. 2012-06-30 14:41:08 +03:00