openalsrc: Remove unused function to fix compiler warning
This commit is contained in:
parent
93786477a5
commit
8284f7bc61
@ -139,17 +139,6 @@ static GstStaticPadTemplate openalsrc_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||||||
"rate = (int) [ 1, MAX ], " "channels = (int) 1")
|
"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);
|
G_DEFINE_TYPE (GstOpenalSrc, gst_openal_src, GST_TYPE_AUDIO_SRC);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user