]> code.delx.au - pulseaudio/commit
alsa: disable period wakeups in tsched mode if possible
authorPierre-Louis Bossart <bossart.nospam@gmail.com>
Mon, 31 Jan 2011 19:20:27 +0000 (13:20 -0600)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 1 Feb 2011 09:41:02 +0000 (09:41 +0000)
commit051d82133f0ae6a57bf66fd200bc8e3591a7d5ca
tree0d593b1a20ecd97f53fc614fd4850690ec2f6802
parent9498440dc67376832f6d4cc0af79498643c7c3de
alsa: disable period wakeups in tsched mode if possible

This patch reflects a new capability that Lennart was wishing
for. Wish granted...

Re-submitting it now that alsa-lib 1.0.24
provides additional entry points to disable period
wakeups in timer-scheduling mode if hardware can
work without it (HDAudio, oxygen and Intel SST).

    Example with standard playback on HDAudio output
    Before change:

    Top causes for wakeups:
       3.8% (  5.4)   [hda_intel] <interrupt>
       2.8% (  4.0)   alsa-sink

    After change:
    Top causes for wakeups:
       2.3% (  3.0)   alsa-sink

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
src/modules/alsa/alsa-util.c