mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +00:00
dbd1b8490f
Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * gst/audiofx/Makefile.am: * gst/audiofx/audiodynamic.c: (gst_audio_dynamic_characteristics_get_type), (gst_audio_dynamic_mode_get_type), (gst_audio_dynamic_set_process_function), (gst_audio_dynamic_base_init), (gst_audio_dynamic_class_init), (gst_audio_dynamic_init), (gst_audio_dynamic_set_property), (gst_audio_dynamic_get_property), (gst_audio_dynamic_setup), (gst_audio_dynamic_transform_hard_knee_compressor_int), (gst_audio_dynamic_transform_hard_knee_compressor_float), (gst_audio_dynamic_transform_soft_knee_compressor_int), (gst_audio_dynamic_transform_soft_knee_compressor_float), (gst_audio_dynamic_transform_hard_knee_expander_int), (gst_audio_dynamic_transform_hard_knee_expander_float), (gst_audio_dynamic_transform_soft_knee_expander_int), (gst_audio_dynamic_transform_soft_knee_expander_float), (gst_audio_dynamic_transform_ip): * gst/audiofx/audiodynamic.h: * gst/audiofx/audiofx.c: (plugin_init): Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and soft-knee operation modes with user-specified ratio and threshold. Attack and release parameters are not yet implemented but will follow. * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-audiofx.xml: Integrate audiodynamic into the docs. * tests/check/Makefile.am: * tests/check/elements/audiodynamic.c: (setup_dynamic), (cleanup_dynamic), (GST_START_TEST), (dynamic_suite), (main): Add unit test for audiodynamic.
76 lines
1.8 KiB
Makefile
76 lines
1.8 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
|
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
|
GST_TEST_FILES_PATH=$(TEST_FILES_DIRECTORY) \
|
|
STATE_IGNORE_ELEMENTS="aasink cacasink autovideosink gconfvideosink"
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
clean-local: clean-local-check
|
|
|
|
if USE_ANNODEX
|
|
check_annodex = \
|
|
elements/cmmldec \
|
|
elements/cmmlenc
|
|
else
|
|
check_annodex =
|
|
endif
|
|
|
|
if USE_TAGLIB
|
|
check_taglib = \
|
|
elements/id3v2mux \
|
|
elements/apev2mux
|
|
else
|
|
check_taglib =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
generic/states \
|
|
$(check_annodex) \
|
|
elements/audiopanorama \
|
|
elements/audioinvert \
|
|
elements/audioamplify \
|
|
elements/audiodynamic \
|
|
elements/avimux \
|
|
elements/id3demux \
|
|
elements/level \
|
|
elements/matroskamux \
|
|
elements/icydemux \
|
|
elements/videofilter \
|
|
$(check_taglib)
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
# these tests don't even pass
|
|
# autodetect: temporarily disabled because of broken videosinks in -bad
|
|
noinst_PROGRAMS = \
|
|
elements/autodetect
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE =
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
|
|
|
|
elements_audiopanorama_LDADD = \
|
|
$(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \
|
|
$(LDADD)
|
|
|
|
elements_audiopanorama_CFLAGS = \
|
|
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|
|
elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS)
|