Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-bad / ext / openal / gstopenal.c
1 /*
2  * GStreamer openal plugin
3  *
4  * Copyright (C) 2005 Wim Taymans <wim@fluendo.com>
5  * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
6  * Copyright (C) 2009-2010 Chris Robinson <chris.kcat@gmail.com>
7  * Copyright (C) 2013 Juan Manuel Borges Caño <juanmabcmail@gmail.com>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Library General Public
11  * License as published by the Free Software Foundation; either
12  * version 2 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Library General Public License for more details.
18  *
19  * You should have received a copy of the GNU Library General Public
20  * License along with this library; if not, write to the
21  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22  * Boston, MA 02110-1301, USA.
23  */
24
25 #ifdef HAVE_CONFIG_H
26 #include "config.h"
27 #endif
28
29 #include "gstopenalelements.h"
30
31 #include <gst/gst-i18n-plugin.h>
32
33
34 static gboolean
35 plugin_init (GstPlugin * plugin)
36 {
37   gboolean ret = FALSE;
38
39   ret |= GST_ELEMENT_REGISTER (openalsink, plugin);
40   ret |= GST_ELEMENT_REGISTER (openalsrc, plugin);
41
42   return TRUE;
43 }
44
45 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
46     GST_VERSION_MINOR,
47     openal,
48     "OpenAL plugin library",
49     plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)