Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-08 05:49:20 +0300
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-08 05:49:20 +0300
commit5aa6c44ee8048d9c156137e7d906093b6afd6953 (patch)
tree1e0676e2b2002e0b03cd298df0b641ba75457eaa /tests/check/elements/equalizer.c
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/check/elements/equalizer.c')
-rw-r--r--tests/check/elements/equalizer.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/check/elements/equalizer.c b/tests/check/elements/equalizer.c
index 1563f4b43..44270d0ce 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);