mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +00:00
54b10ebf2a
Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * gst/audiofx/Makefile.am: * gst/audiofx/audioamplify.c: (gst_audio_amplify_clipping_method_get_type), (gst_audio_amplify_base_init), (gst_audio_amplify_class_init), (gst_audio_amplify_init), (gst_audio_amplify_set_process_function), (gst_audio_amplify_set_property), (gst_audio_amplify_get_property), (gst_audio_amplify_set_caps), (gst_audio_amplify_transform_int_clip), (gst_audio_amplify_transform_int_wrap_negative), (gst_audio_amplify_transform_int_wrap_positive), (gst_audio_amplify_transform_float_clip), (gst_audio_amplify_transform_float_wrap_negative), (gst_audio_amplify_transform_float_wrap_positive), (gst_audio_amplify_transform_ip): * gst/audiofx/audioamplify.h: * gst/audiofx/audiofx.c: (plugin_init): Add new element "audioamplify". This allows scaling of raw audio samples, similar to the "volume" element, but provides different modes for clipping and allows unlimited amplification. It's mainly targeted for creative sound design and not as a replacement of the "volume" element. Fixes #397162 * 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: Add docs for audioamplify and integrate them into the build system * tests/check/Makefile.am: * tests/check/elements/audioamplify.c: (setup_amplify), (cleanup_amplify), (GST_START_TEST), (amplify_suite), (main): Add fairly extensive unit test suite for audioamplify
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
|
|
|
|
# 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 = \
|
|
$(check_annodex) \
|
|
elements/audiopanorama \
|
|
elements/audioinvert \
|
|
elements/audioamplify \
|
|
elements/avimux \
|
|
elements/level \
|
|
elements/matroskamux \
|
|
elements/icydemux \
|
|
$(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)
|