alsa: make defines for smoother configuration
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 9 Sep 2010 10:29:59 +0000 (12:29 +0200)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 9 Sep 2010 16:03:45 +0000 (17:03 +0100)
commitc47d6896136e04dff538240ae29fd0cac021b25b
tree5afffb4b546e72c4701196ff9482cbd04b22f68d
parent771fb0b59bc90b19a2c69e8cbe51a4957917d588
alsa: make defines for smoother configuration

Make new defines for the smoother window size and adjust time constants instead
of reusing some unrelated constant.

Increase the smoother window size even more because the bigger it is, the
better. Since we have a 200ms max update interval and the max smoother history
is 64 entries, 10seconds is a good default.

Decrease the smoother adjust time to 1 second. The previous value of 4 seconds
was too much to adapt quickly after a resume.
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c