mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
resampler: Split the resampler implementations into separate files
Rebased by Peter Meerwald. Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: poljar (Damir Jelić) <poljarinho@gmail.com>
This commit is contained in:
parent
64d17a6b0a
commit
72103e1e33
8 changed files with 748 additions and 604 deletions
|
|
@ -901,6 +901,8 @@ libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
|
|||
pulsecore/remap.c pulsecore/remap.h \
|
||||
pulsecore/remap_mmx.c pulsecore/remap_sse.c \
|
||||
pulsecore/resampler.c pulsecore/resampler.h \
|
||||
pulsecore/resampler/ffmpeg.c pulsecore/resampler/peaks.c \
|
||||
pulsecore/resampler/trivial.c \
|
||||
pulsecore/rtpoll.c pulsecore/rtpoll.h \
|
||||
pulsecore/stream-util.c pulsecore/stream-util.h \
|
||||
pulsecore/mix.c pulsecore/mix.h \
|
||||
|
|
@ -925,9 +927,9 @@ libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
|
|||
pulsecore/thread-mq.c pulsecore/thread-mq.h \
|
||||
pulsecore/database.h
|
||||
|
||||
libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
|
||||
libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
|
||||
libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
|
||||
libpulsecore_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libpulsecore-foreign.la
|
||||
libpulsecore_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSNDFILE_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libpulsecore-foreign.la
|
||||
|
||||
if HAVE_NEON
|
||||
noinst_LTLIBRARIES += libpulsecore_sconv_neon.la libpulsecore_mix_neon.la libpulsecore_remap_neon.la
|
||||
|
|
@ -978,6 +980,18 @@ if HAVE_SIMPLEDB
|
|||
libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
|
||||
endif
|
||||
|
||||
if HAVE_SPEEX
|
||||
libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/resampler/speex.c
|
||||
libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(LIBSPEEX_CFLAGS)
|
||||
libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(LIBSPEEX_LIBS)
|
||||
endif
|
||||
|
||||
if HAVE_LIBSAMPLERATE
|
||||
libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/resampler/libsamplerate.c
|
||||
libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(LIBSAMPLERATE_CFLAGS)
|
||||
libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(LIBSAMPLERATE_LIBS)
|
||||
endif
|
||||
|
||||
# We split the foreign code off to not be annoyed by warnings we don't care about
|
||||
noinst_LTLIBRARIES += libpulsecore-foreign.la
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue