pulseaudio/src/modules/alsa
Lars-Peter Clausen 826c8f69d3 alsa: Disable timer-scheduling for PCMs with the BATCH flag
PCM Devices which have the BATCH flag set update the PCM pointer only with
period size granularity. Using timer based scheduling does not have any
advantage in this mode. For one devices which have that flag set usually update
the position pointer in software after getting the period interrupt. So
disabling the period interrupt is not possible for this kind of devices.
Furthermore writing to or reading from the buffer slice for the current period
is not possible since the position inside the buffer is not known. On the other
hand the tsched algorithm seems to get easily confused for this kind of
hardware, which results in garbled audio output. This typically means that timer
based scheduling needs to be manually disabled on systems with such devices.
Auto disabling tsched in this case allows these systems to run with the default
configuration.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2013-12-06 12:58:03 +02:00
..
mixer alsa-mixer: Add internal surround speaker elements 2013-11-01 21:27:29 +01:00
alsa-mixer.c idxset: Allow deep copying with pa_idxset_copy() 2013-11-29 07:14:39 +02:00
alsa-mixer.h alsa: Allow sample spec override in mappings 2013-09-17 18:31:03 +05:30
alsa-sink.c idxset: Allow deep copying with pa_idxset_copy() 2013-11-29 07:14:39 +02:00
alsa-sink.h alsa: Remove unneeded include 2011-06-22 22:45:27 +01:00
alsa-source.c alsa: Fix crash when loading bare ALSA sink/source 2013-10-10 00:03:56 +05:30
alsa-source.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-ucm.c ucm: Add a FIXME comment about bad error handling 2013-11-29 07:21:37 +02:00
alsa-ucm.h alsa-ucm: Use playback/capture rate specification from UCM 2013-09-17 18:32:48 +05:30
alsa-util.c alsa: Disable timer-scheduling for PCMs with the BATCH flag 2013-12-06 12:58:03 +02:00
alsa-util.h Fix alignment issues introduced by the pa_bool -> bool conversion 2013-07-04 12:25:40 +03:00
module-alsa-card.c alsa: Turn one assertion into two 2013-09-23 09:53:41 +02:00
module-alsa-sink.c Remove pa_bool_t and replace it with bool. 2013-07-04 12:25:30 +03:00
module-alsa-source.c Remove pa_bool_t and replace it with bool. 2013-07-04 12:25:30 +03:00