2 * GStreamer pulseaudio plugin
4 * Copyright (c) 2004-2008 Lennart Poettering
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26 #include <gst/gst-i18n-plugin.h>
28 #include "pulsesink.h"
30 #include "pulsemixer.h"
32 GST_DEBUG_CATEGORY (pulse_debug);
35 plugin_init (GstPlugin * plugin)
38 GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
40 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
41 bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
44 if (!gst_element_register (plugin, "pulsesink", GST_RANK_PRIMARY + 10,
48 if (!gst_element_register (plugin, "pulsesrc", GST_RANK_PRIMARY + 10,
53 if (!gst_element_register (plugin, "pulseaudiosink", GST_RANK_MARGINAL - 1,
54 GST_TYPE_PULSE_AUDIO_SINK))
58 if (!gst_element_register (plugin, "pulsemixer", GST_RANK_NONE,
62 GST_DEBUG_CATEGORY_INIT (pulse_debug, "pulse", 0, "PulseAudio elements");
66 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
69 "PulseAudio plugin library",
70 plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)