mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ceb068d0e9
Original commit message from CVS: * gst/equalizer/Makefile.am: * gst/equalizer/demo.c: (on_window_destroy), (on_configure_event), (on_gain_changed), (on_bandwidth_changed), (on_freq_changed), (draw_spectrum), (message_handler), (main): Add small demo application based on the spectrum demo applications that gets white noise as input, pushes it through an equalizer and paints the spectrum. For every equalizer band it's possible to set gain, bandwidth and frequency. * gst/equalizer/gstiirequalizer.c: (setup_filter): Add some guarding against too large or too small frequencies and bandwidths. Also improve debugging a bit.
22 lines
819 B
Makefile
22 lines
819 B
Makefile
plugin_LTLIBRARIES = libgstequalizer.la
|
|
|
|
libgstequalizer_la_SOURCES = \
|
|
gstiirequalizer.c gstiirequalizer.h \
|
|
gstiirequalizernbands.c gstiirequalizernbands.h \
|
|
gstiirequalizer3bands.c gstiirequalizer3bands.h \
|
|
gstiirequalizer10bands.c gstiirequalizer10bands.h
|
|
|
|
libgstequalizer_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS)
|
|
libgstequalizer_la_LIBADD = $(GST_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) $(LIBM)
|
|
libgstequalizer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
noinst_HEADERS = gstiirequalizer.h
|
|
|
|
if HAVE_GTK
|
|
noinst_PROGRAMS = demo
|
|
endif
|
|
|
|
demo_SOURCES = demo.c
|
|
demo_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
|
|
demo_LDFLAGS = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS)
|
|
|