mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
openalsrc: Remove unused function to fix compiler warning
This commit is contained in:
parent
93786477a5
commit
8284f7bc61
1 changed files with 0 additions and 11 deletions
|
@ -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…
Reference in a new issue