From 8284f7bc616d4fa8483087b4714fdf73a68e2212 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Thu, 27 Feb 2014 21:45:34 +0100 Subject: openalsrc: Remove unused function to fix compiler warning --- ext/openal/gstopenalsrc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ext/openal') diff --git a/ext/openal/gstopenalsrc.c b/ext/openal/gstopenalsrc.c index 3bc62aa9c..1c246b5c2 100644 --- a/ext/openal/gstopenalsrc.c +++ b/ext/openal/gstopenalsrc.c @@ -139,17 +139,6 @@ static GstStaticPadTemplate openalsrc_factory = GST_STATIC_PAD_TEMPLATE ("src", "rate = (int) [ 1, MAX ], " "channels = (int) 1") ); -static inline ALenum -checkALError (const char *fname, unsigned int fline) -{ - ALenum err = alGetError (); - if (err != AL_NO_ERROR) - g_warning ("%s:%u: context error: %s", fname, fline, alGetString (err)); - return err; -} - -#define checkALError() checkALError(__FILE__, __LINE__) - G_DEFINE_TYPE (GstOpenalSrc, gst_openal_src, GST_TYPE_AUDIO_SRC); static void -- cgit v1.2.3