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.
This commit is contained in:
Wim Taymans 2010-09-03 16:47:44 +02:00
parent d18cae458f
commit dc5ec2c296

View file

@ -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); pa_thread_mq_init(&u->thread_mq, m->core->mainloop, u->rtpoll);
u->smoother = pa_smoother_new( u->smoother = pa_smoother_new(
DEFAULT_TSCHED_WATERMARK_USEC*2, DEFAULT_TSCHED_BUFFER_USEC*2,
DEFAULT_TSCHED_WATERMARK_USEC*2, DEFAULT_TSCHED_BUFFER_USEC*2,
TRUE, TRUE,
TRUE, TRUE,
5, 5,