From 6f162031444ef330a2d47b65a5699d5d1caa6512 Mon Sep 17 00:00:00 2001 From: Georg Chini Date: Wed, 15 Jan 2020 20:34:30 +0100 Subject: [PATCH] Add configuration option enable-smoother-2 to enable alternative smoother code Part-of: --- meson.build | 4 ++++ meson_options.txt | 3 +++ 2 files changed, 7 insertions(+) diff --git a/meson.build b/meson.build index ae0c66310..d2864bc80 100644 --- a/meson.build +++ b/meson.build @@ -615,6 +615,10 @@ if get_option('running-from-build-tree') cdata.set('HAVE_RUNNING_FROM_BUILD_TREE', 1) endif +if get_option('enable-smoother-2') + cdata.set('USE_SMOOTHER_2', 1) +endif + alsa_dep = dependency('alsa', version : '>= 1.0.24', required : get_option('alsa')) if alsa_dep.found() cdata.set('HAVE_ALSA', 1) diff --git a/meson_options.txt b/meson_options.txt index bb41a42a7..4177f564a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -162,6 +162,9 @@ option('valgrind', option('x11', type : 'feature', value : 'auto', description : 'Optional X11 support') +option('enable-smoother-2', + type : 'boolean', value : 'true', + description : 'Use alternative time smoother implementation') # Echo cancellation