diff options
author | Andrey Semashev <andrey.semashev@gmail.com> | 2015-01-14 22:22:03 +0300 |
---|---|---|
committer | David Henningsson <david.henningsson@canonical.com> | 2015-02-12 20:36:59 +0100 |
commit | 6ea00eeb07a59c33cabc2b8011e5e2bea49d4050 (patch) | |
tree | fd795f161d2911814f9e02079b2881fae9e8b49b /src/Makefile.am | |
parent | e257fd51f60ea66b7e7b02b681c1b89d12a9a9fd (diff) |
Added libsoxr detection and optional build of soxr resampler backend.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5cb55645..67f86277 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1019,6 +1019,12 @@ libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(LIBSPEEX_CFLAGS) libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(LIBSPEEX_LIBS) endif +if HAVE_SOXR +libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/resampler/soxr.c +libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(LIBSOXR_CFLAGS) +libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(LIBSOXR_LIBS) +endif + if HAVE_LIBSAMPLERATE libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/resampler/libsamplerate.c libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(LIBSAMPLERATE_CFLAGS) |