summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-06-23 19:52:04 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-06-23 20:02:43 +0100
commitdd23afb6d4817cb331939b8823165cba7c999ca6 (patch)
tree130c5a108552e614c1bb96c9073d6cfa9200dc8e /tests
parent2271fee77e762a0b601716103bf2301b0d0b893a (diff)
sys: remove sunaudio plugin
Even though hooked up to the build system, it's clear that no one has ever built or used this with GStreamer 1.x. It wants to link against libgstinterfaces, which no longer exists. And uses 0.10-style raw audio caps. And the last meaningful change was done in 2009. Let's just remove it.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/Makefile.am14
-rw-r--r--tests/check/elements/.gitignore1
-rw-r--r--tests/check/elements/sunaudio.c95
-rw-r--r--tests/check/meson.build1
4 files changed, 0 insertions, 111 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 899b18241..750bece8c 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -255,12 +255,6 @@ else
check_spectrum =
endif
-if USE_SUNAUDIO
-check_sunaudio = elements/sunaudio
-else
-check_sunaudio =
-endif
-
if USE_PLUGIN_SHAPEWIPE
check_shapewipe = elements/shapewipe
else
@@ -382,7 +376,6 @@ check_PROGRAMS = \
$(check_shapewipe) \
$(check_soup) \
$(check_spectrum) \
- $(check_sunaudio) \
$(check_taglib) \
$(check_udp) \
$(check_videobox) \
@@ -552,13 +545,6 @@ elements_rtpmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(G
elements_souphttpsrc_CFLAGS = $(SOUP_CFLAGS) $(AM_CFLAGS)
elements_souphttpsrc_LDADD = $(SOUP_LIBS) $(LDADD)
-elements_sunaudio_CFLAGS = \
- $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) \
- $(AM_CFLAGS)
-elements_sunaudio_LDADD = \
- $(GST_PLUGINS_BASE_LIBS) \
- $(LDADD)
-
elements_udpsrc_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS)
elements_udpsrc_LDADD = $(LDADD) $(GIO_LIBS)
diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore
index b7a2d911d..e5cfb3bee 100644
--- a/tests/check/elements/.gitignore
+++ b/tests/check/elements/.gitignore
@@ -67,7 +67,6 @@ shapewipe
souphttpsrc
spectrum
splitmux
-sunaudio
udpsink
udpsrc
videocrop
diff --git a/tests/check/elements/sunaudio.c b/tests/check/elements/sunaudio.c
deleted file mode 100644
index 834e7cbb7..000000000
--- a/tests/check/elements/sunaudio.c
+++ /dev/null
@@ -1,95 +0,0 @@
-/* GStreamer unit tests for the sun audio elements
- *
- * Copyright (C) 2007 Tim-Philipp Müller <tim centricular net>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include <gst/check/gstcheck.h>
-#include <gst/interfaces/propertyprobe.h>
-#include <gst/interfaces/mixer.h>
-#include <gst/gst.h>
-
-GST_START_TEST (test_sun_audio_mixer_track)
-{
- GstStateChangeReturn state_ret;
- GstElement *mixer;
- GList *tracks, *l;
-
- mixer = gst_element_factory_make ("sunaudiomixer", "sunaudiomixer");
- fail_unless (mixer != NULL, "Failed to create 'sunaudiomixer' element!");
-
- state_ret = gst_element_set_state (mixer, GST_STATE_READY);
- if (state_ret != GST_STATE_CHANGE_SUCCESS) {
- gst_object_unref (mixer);
- return;
- }
-
- GST_LOG ("opened sunaudiomixer");
- fail_unless (GST_IS_MIXER (mixer), "is not a GstMixer?!");
-
- tracks = (GList *) gst_mixer_list_tracks (GST_MIXER (mixer));
- for (l = tracks; l != NULL; l = l->next) {
- GObjectClass *klass;
- GstMixerTrack *track;
- gchar *ulabel = NULL, *label = NULL;
-
- track = GST_MIXER_TRACK (l->data);
-
- g_object_get (track, "label", &label, NULL);
- fail_unless (label == NULL || g_utf8_validate (label, -1, NULL));
-
- /* FIXME: remove this check once we depend on -base >= 0.10.12.1 */
- klass = G_OBJECT_GET_CLASS (track);
- if (g_object_class_find_property (klass, "untranslated-label")) {
- g_object_get (track, "untranslated-label", &ulabel, NULL);
- }
-
- if (ulabel != NULL) {
- gchar *p;
-
- for (p = ulabel; p != NULL && *p != '\0'; ++p) {
- fail_unless (g_ascii_isprint (*p),
- "untranslated label '%s' not printable ASCII", ulabel);
- }
- }
- GST_DEBUG ("%s: %s", GST_STR_NULL (ulabel), GST_STR_NULL (label));
- g_free (label);
- g_free (ulabel);
- }
-
- fail_unless_equals_int (gst_element_set_state (mixer, GST_STATE_NULL),
- GST_STATE_CHANGE_SUCCESS);
-
- gst_object_unref (mixer);
-}
-
-GST_END_TEST;
-
-
-static Suite *
-sunaudio_suite (void)
-{
- Suite *s = suite_create ("sunaudio");
- TCase *tc_chain = tcase_create ("general");
-
- suite_add_tcase (s, tc_chain);
- tcase_add_test (tc_chain, test_sun_audio_mixer_track);
-
- return s;
-}
-
-GST_CHECK_MAIN (sunaudio)
diff --git a/tests/check/meson.build b/tests/check/meson.build
index acc2b43c7..e5eddc658 100644
--- a/tests/check/meson.build
+++ b/tests/check/meson.build
@@ -80,7 +80,6 @@ good_tests = [
[ 'elements/rtpsession' ],
[ 'elements/souphttpsrc', not libsoup_dep.found(), [libsoup_dep] ],
[ 'elements/spectrum' ],
-# [ 'elements/sunaudio' ],
[ 'elements/shapewipe' ],
[ 'elements/id3v2mux', not taglib_dep.found() ],
[ 'elements/apev2mux', not taglib_dep.found() ],