pulseaudio/src/modules/alsa
Lennart Poettering 3b25302554 alsa: disable timer-based scheduling inside a VM
In virtual machines sound card clocks and OS scheduling tend to become
unreliable, adding various 'uneven' latencies. The adaptive algorithm
that handles drop-outs does not handle it this well: in contrast to
drop-outs on real machines that are evenly distributed, small and can
easily be encountered via the adpative algorithms, drop-outs in VMs tend
to happen abruptly, and massively, which is not easy to counter.

This patch simply disables timer based scheduling in VMs reverting to
classic IO based scheduling. This should help make PA perform better in
VMs.

https://bugzilla.redhat.com/show_bug.cgi?id=532775
2009-11-11 05:26:36 +01:00
..
mixer alsa: cover 'Analog Output' control 2009-11-11 05:17:39 +01:00
alsa-mixer.c alsa: introduce more standard path names 2009-11-11 05:17:52 +01:00
alsa-mixer.h alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that 2009-09-09 23:56:51 +02:00
alsa-sink.c alsa: disable timer-based scheduling inside a VM 2009-11-11 05:26:36 +01:00
alsa-sink.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-source.c alsa: disable timer-based scheduling inside a VM 2009-11-11 05:26:36 +01:00
alsa-source.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-util.c alsa: disable timer-based scheduling inside a VM 2009-11-11 05:26:36 +01:00
alsa-util.h alsa: disable timer-based scheduling inside a VM 2009-11-11 05:26:36 +01:00
Makefile add stub makefiles for oss and alsa subdirs 2009-01-15 21:03:32 +01:00
module-alsa-card.c alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that 2009-09-09 23:56:51 +02:00
module-alsa-sink.c alsa: unify alsa log handling and snd_config_update_free_global() handling in one place 2009-06-18 21:27:02 +02:00
module-alsa-source.c pulse: move pa_rtclock_now in pulsecommon 2009-06-20 17:29:08 +03:00