summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-09-03 16:47:44 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2010-09-03 16:49:03 +0200
commitdc5ec2c296ebd3c45dbf8635aa78365e6dd3f052 (patch)
tree2039d051eb3e64d54edecb69b405e8e0b165d8d3
parentd18cae458f0aabfeb4a36d82c60a00422fc98c69 (diff)
alsa: increase the smoother window
40ms for the smoother window is too small. Increase the size to 4 seconds, like we do for the sinks.
-rw-r--r--src/modules/alsa/alsa-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
index 6d073c14..8ed300b5 100644
--- a/src/modules/alsa/alsa-source.c
+++ b/src/modules/alsa/alsa-source.c
@@ -1557,8 +1557,8 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p
pa_thread_mq_init(&u->thread_mq, m->core->mainloop, u->rtpoll);
u->smoother = pa_smoother_new(
- DEFAULT_TSCHED_WATERMARK_USEC*2,
- DEFAULT_TSCHED_WATERMARK_USEC*2,
+ DEFAULT_TSCHED_BUFFER_USEC*2,
+ DEFAULT_TSCHED_BUFFER_USEC*2,
TRUE,
TRUE,
5,