summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-08 02:49:20 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-08 02:49:20 +0000
commit5aa6c44ee8048d9c156137e7d906093b6afd6953 (patch)
tree1e0676e2b2002e0b03cd298df0b641ba75457eaa /tests
parentc54301aabe94fb5eef6b25e98d469787a5189ee6 (diff)
Move the equalizer plugin across from -bad
Original commit message from CVS: * configure.ac: * 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/gst-plugins-good-plugins.hierarchy: * docs/plugins/gst-plugins-good-plugins.interfaces: * docs/plugins/inspect/plugin-equalizer.xml: * gst/equalizer/Makefile.am: * tests/check/Makefile.am: * tests/examples/Makefile.am: Move the equalizer plugin across from -bad * tests/check/elements/.cvsignore: Add equalizer, audiosincwband and audiosincwlimit * tests/check/elements/equalizer.c: Fix compiler warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/check/Makefile.am1
-rw-r--r--tests/check/elements/.gitignore3
-rw-r--r--tests/check/elements/equalizer.c14
-rw-r--r--tests/examples/Makefile.am4
4 files changed, 11 insertions, 11 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 68abd275..ff791a6c 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -63,6 +63,7 @@ check_PROGRAMS = \
elements/audiowsinclimit \
elements/avimux \
elements/avisubtitle \
+ elements/equalizer \
elements/icydemux \
elements/id3demux \
elements/level \
diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore
index 33fe1701..1a8a5c58 100644
--- a/tests/check/elements/.gitignore
+++ b/tests/check/elements/.gitignore
@@ -4,12 +4,15 @@ apev2mux
audioamplify
audiochebband
audiocheblimit
+audiosincwband
+audiosincwlimit
audiodynamic
audioinvert
audiopanorama
autodetect
avimux
avisubtitle
+equalizer
cmmldec
cmmlenc
icydemux
diff --git a/tests/check/elements/equalizer.c b/tests/check/elements/equalizer.c
index 1563f4b4..44270d0c 100644
--- a/tests/check/elements/equalizer.c
+++ b/tests/check/elements/equalizer.c
@@ -89,7 +89,7 @@ cleanup_equalizer (GstElement * equalizer)
GST_START_TEST (test_equalizer_5bands_passthrough)
{
GstElement *equalizer;
- GstBuffer *inbuffer, *outbuffer;
+ GstBuffer *inbuffer;
GstCaps *caps;
gdouble *in, *res;
gint i;
@@ -134,7 +134,7 @@ GST_END_TEST;
GST_START_TEST (test_equalizer_5bands_minus_24)
{
GstElement *equalizer;
- GstBuffer *inbuffer, *outbuffer;
+ GstBuffer *inbuffer;
GstCaps *caps;
gdouble *in, *res, rms_in, rms_out;
gint i;
@@ -150,7 +150,7 @@ GST_START_TEST (test_equalizer_5bands_minus_24)
gst_child_proxy_get_child_by_index (GST_CHILD_PROXY (equalizer), i);
fail_unless (band != NULL);
- g_object_set (G_OBJECT (band), "gain", -24.0, 0);
+ g_object_set (G_OBJECT (band), "gain", -24.0, NULL);
g_object_unref (G_OBJECT (band));
}
@@ -197,7 +197,7 @@ GST_END_TEST;
GST_START_TEST (test_equalizer_5bands_plus_12)
{
GstElement *equalizer;
- GstBuffer *inbuffer, *outbuffer;
+ GstBuffer *inbuffer;
GstCaps *caps;
gdouble *in, *res, rms_in, rms_out;
gint i;
@@ -213,7 +213,7 @@ GST_START_TEST (test_equalizer_5bands_plus_12)
gst_child_proxy_get_child_by_index (GST_CHILD_PROXY (equalizer), i);
fail_unless (band != NULL);
- g_object_set (G_OBJECT (band), "gain", 12.0, 0);
+ g_object_set (G_OBJECT (band), "gain", 12.0, NULL);
g_object_unref (G_OBJECT (band));
}
@@ -260,9 +260,6 @@ GST_END_TEST;
GST_START_TEST (test_equalizer_band_number_changing)
{
GstElement *equalizer;
- GstBuffer *inbuffer, *outbuffer;
- GstCaps *caps;
- gdouble *in, *res;
gint i;
equalizer = setup_equalizer ();
@@ -273,7 +270,6 @@ GST_START_TEST (test_equalizer_band_number_changing)
for (i = 0; i < 5; i++) {
GstObject *band;
- gdouble freq;
band = gst_child_proxy_get_child_by_index (GST_CHILD_PROXY (equalizer), i);
fail_unless (band != NULL);
diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am
index b5530f12..1f9144f3 100644
--- a/tests/examples/Makefile.am
+++ b/tests/examples/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = level rtp
+SUBDIRS = level rtp equalizer
-DIST_SUBDIRS = level rtp
+DIST_SUBDIRS = level rtp equalizer