mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
dae848818d
Rework the audio caps similar to the video caps. Remove width/depth/endianness/signed fields and replace with a simple string format and media type audio/x-raw. Create a GstAudioInfo and some helper methods to parse caps. Remove duplicate code from the ringbuffer and replace with audio info. Use AudioInfo in the base audio filter class. Port elements to new API.
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
plugin_LTLIBRARIES = libgstaudioresample.la
|
|
|
|
# FIXME: we still link against orc if it's there, even if --disable-orc was used
|
|
if HAVE_ORC
|
|
ORC_TEST_LIBS = -lorc-test-0.4
|
|
else
|
|
ORC_TEST_LIBS =
|
|
endif
|
|
|
|
libgstaudioresample_la_SOURCES = \
|
|
gstaudioresample.c \
|
|
speex_resampler_int.c \
|
|
speex_resampler_float.c \
|
|
speex_resampler_double.c
|
|
|
|
libgstaudioresample_la_CFLAGS = \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(ORC_CFLAGS)
|
|
|
|
libgstaudioresample_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(ORC_LIBS) $(ORC_TEST_LIBS) \
|
|
$(LIBM)
|
|
|
|
libgstaudioresample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstaudioresample_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = \
|
|
arch.h \
|
|
fixed_arm4.h \
|
|
fixed_arm5e.h \
|
|
fixed_bfin.h \
|
|
fixed_debug.h \
|
|
fixed_generic.h \
|
|
gstaudioresample.h \
|
|
resample.c \
|
|
resample_sse.h \
|
|
speex_resampler.h \
|
|
speex_resampler_wrapper.h
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
androgenizer \
|
|
-:PROJECT libgstaudioresample -:SHARED libgstaudioresample \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-:SOURCES $(libgstaudioresample_la_SOURCES) \
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstaudioresample_la_CFLAGS) \
|
|
-:LDFLAGS $(libgstaudioresample_la_LDFLAGS) \
|
|
$(libgstaudioresample_la_LIBADD) \
|
|
-ldl \
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
|
|
> $@
|