1 | //gstroar.c: |
---|
2 | /* GStreamer |
---|
3 | * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> |
---|
4 | * Copyright (C) <2003> David A. Schleef <ds@schleef.org> |
---|
5 | * Copyright (C) <2008,2009> Philipp 'ph3-der-loewe' Schafft |
---|
6 | * <lion@lion.leolix.org> |
---|
7 | * |
---|
8 | * This library is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU Library General Public |
---|
10 | * License as published by the Free Software Foundation; either |
---|
11 | * version 2 of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This library is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
16 | * Library General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU Library General Public |
---|
19 | * License along with this library; if not, write to the |
---|
20 | * Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
21 | * Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | |
---|
24 | #ifdef HAVE_CONFIG_H |
---|
25 | #include "config.h" |
---|
26 | #endif |
---|
27 | #include "roarsink.h" |
---|
28 | #include "roarmixer.h" |
---|
29 | |
---|
30 | //#include "gst/gst-i18n-plugin.h" |
---|
31 | |
---|
32 | static gboolean |
---|
33 | plugin_init (GstPlugin * plugin) |
---|
34 | { |
---|
35 | if (!gst_roarsink_factory_init (plugin)) |
---|
36 | return FALSE; |
---|
37 | if (!gst_roarmixer_factory_init (plugin)) |
---|
38 | return FALSE; |
---|
39 | |
---|
40 | // GST_DEBUG_CATEGORY_INIT (roar_debug, "roar", 0, "RoarAudio elements"); |
---|
41 | |
---|
42 | #ifdef ENABLE_NLS |
---|
43 | setlocale (LC_ALL, ""); |
---|
44 | bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
---|
45 | #endif /* ENABLE_NLS */ |
---|
46 | |
---|
47 | return TRUE; |
---|
48 | } |
---|
49 | |
---|
50 | GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, |
---|
51 | GST_VERSION_MINOR, |
---|
52 | "roaraudio", |
---|
53 | "RoarAudio Element Plugins", |
---|
54 | plugin_init, VERSION, "GPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) |
---|
55 | |
---|
56 | |
---|
57 | //ll |
---|