mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Add configuration option enable-smoother-2 to enable alternative smoother code
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/55>
This commit is contained in:
parent
156b572954
commit
6f16203144
2 changed files with 7 additions and 0 deletions
|
|
@ -615,6 +615,10 @@ if get_option('running-from-build-tree')
|
||||||
cdata.set('HAVE_RUNNING_FROM_BUILD_TREE', 1)
|
cdata.set('HAVE_RUNNING_FROM_BUILD_TREE', 1)
|
||||||
endif
|
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'))
|
alsa_dep = dependency('alsa', version : '>= 1.0.24', required : get_option('alsa'))
|
||||||
if alsa_dep.found()
|
if alsa_dep.found()
|
||||||
cdata.set('HAVE_ALSA', 1)
|
cdata.set('HAVE_ALSA', 1)
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,9 @@ option('valgrind',
|
||||||
option('x11',
|
option('x11',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional X11 support')
|
description : 'Optional X11 support')
|
||||||
|
option('enable-smoother-2',
|
||||||
|
type : 'boolean', value : 'true',
|
||||||
|
description : 'Use alternative time smoother implementation')
|
||||||
|
|
||||||
# Echo cancellation
|
# Echo cancellation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue