mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
meson: Add optional libsamplerate support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
b839d3fb59
commit
104b21f227
3 changed files with 13 additions and 1 deletions
|
|
@ -252,6 +252,11 @@ if gtk_dep.found()
|
|||
cdata.set('HAVE_GTK', 1)
|
||||
endif
|
||||
|
||||
samplerate_dep = dependency('samplerate', version : '>= 0.1.0', required : get_option('samplerate'))
|
||||
if samplerate_dep.found()
|
||||
cdata.set('HAVE_LIBSAMPLERATE', 1)
|
||||
endif
|
||||
|
||||
soxr_dep = dependency('soxr', version : '>= 0.1.1', required : get_option('soxr'))
|
||||
if soxr_dep.found()
|
||||
cdata.set('HAVE_SOXR', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue