1 /*
2 * GStreamer pulseaudio plugin
3 *
4 * Copyright (c) 2004-2008 Lennart Poettering
5 *
6 * gst-pulse is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2.1 of the
9 * License, or (at your option) any later version.
10 *
11 * gst-pulse is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with gst-pulse; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19 * USA.
20 */
21
22 #ifdef HAVE_CONFIG_H
23 #include "config.h"
24 #endif
25
26 #include "gstpulseelements.h"
27
28 static gboolean
plugin_init(GstPlugin * plugin)29 plugin_init (GstPlugin * plugin)
30 {
31 gboolean ret = FALSE;
32
33 ret |= GST_ELEMENT_REGISTER (pulsesink, plugin);
34 ret |= GST_ELEMENT_REGISTER (pulsesrc, plugin);
35
36 ret |= GST_DEVICE_PROVIDER_REGISTER (pulsedeviceprovider, plugin);
37
38 return ret;
39 }
40
41 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
42 GST_VERSION_MINOR,
43 pulseaudio,
44 "PulseAudio plugin library",
45 plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
46