summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-09-03 16:47:44 +0200
committerColin Guthrie <cguthrie@mandriva.org>2010-09-03 16:18:29 +0100
commit4fb02d8e0efed20a3e01f3456d091e408a72953f (patch)
treece2b6a3c74ca65af207181a0b550073aada75fdf /src/modules
parent93750199f8292847f7f63ab17ef5f5c803c2fea9 (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.
Diffstat (limited to 'src/modules')
-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 c1476231..c9c6048b 100644
--- a/src/modules/alsa/alsa-source.c
+++ b/src/modules/alsa/alsa-source.c
@@ -1555,8 +1555,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,