alsa-sink: reduce the amount of smoother updates
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 11:40:27 +0000 (13:40 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 11:40:27 +0000 (13:40 +0200)
commitc1b6a87b27b569cda135da05b53cc98aa9ca37cb
treeb8914cfc5be9d82fd6cfe4dfecb79aea1c0ef620
parentf8ffe0dabcedf56437c00feb895d7d7229971ba0
alsa-sink: reduce the amount of smoother updates

Exponentially increase the amount of time between smoother updates. We start
with a 2ms interval and increase up to 200ms intervals.
Smoother updates and the resulting linear regression take a fair amount of CPU
so we want to reduce the amount of updates.
src/modules/alsa/alsa-sink.c