diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-09-29 19:46:40 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-09-29 19:46:40 +0200 |
commit | 4a3f900a460f344b6795b83ea2abac3f8b68845a (patch) | |
tree | 77b002f18a7f0f7acca1759838f4ce3ca34725be | |
parent | 4640dc0c4c6bb8dac96b11192b61f97bdd62914e (diff) |
alsa: enable filtering in the smootheroptimize-smoother2
-rw-r--r-- | src/modules/alsa/alsa-sink.c | 2 | ||||
-rw-r--r-- | src/modules/alsa/alsa-source.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index 1108a7974..b61a8ce1a 100644 --- a/src/modules/alsa/alsa-sink.c +++ b/src/modules/alsa/alsa-sink.c @@ -1768,6 +1768,8 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, const char*driver, pa_ca 5, pa_rtclock_now(), TRUE); + pa_smoother_set_filter(u->smoother, TRUE, 0); + u->smoother_interval = SMOOTHER_MIN_INTERVAL; dev_id = pa_modargs_get_value( diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c index 5f1267517..c45050573 100644 --- a/src/modules/alsa/alsa-source.c +++ b/src/modules/alsa/alsa-source.c @@ -1577,6 +1577,8 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p 5, pa_rtclock_now(), TRUE); + pa_smoother_set_filter(u->smoother, TRUE, 0); + u->smoother_interval = SMOOTHER_MIN_INTERVAL; dev_id = pa_modargs_get_value( |