summaryrefslogtreecommitdiff
path: root/ext/openal
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-02-27 21:45:34 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-02-27 21:45:34 +0100
commit8284f7bc616d4fa8483087b4714fdf73a68e2212 (patch)
tree08a1f35fa76259295ad7bad35e360ea0846d688d /ext/openal
parent93786477a50798079521cfd80854ef0417829afd (diff)
openalsrc: Remove unused function to fix compiler warning
Diffstat (limited to 'ext/openal')
-rw-r--r--ext/openal/gstopenalsrc.c11
1 files changed, 0 insertions, 11 deletions
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