source: roaraudio/plugins/gstreamer0.10/gstroar.c @ 1600:a7ee77091db6

Last change on this file since 1600:a7ee77091db6 was 1600:a7ee77091db6, checked in by phi, 15 years ago

added basic files, first commit...

File size: 1.6 KB
Line 
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, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
22 */
23
24#ifdef HAVE_CONFIG_H
25#include "config.h"
26#endif
27#include "roarsink.h"
28
29//#include "gst/gst-i18n-plugin.h"
30
31static gboolean
32plugin_init (GstPlugin * plugin)
33{
34  if (!gst_roarsink_factory_init (plugin))
35    return FALSE;
36
37//  GST_DEBUG_CATEGORY_INIT (roar_debug, "roar", 0, "RoarAudio elements");
38
39#ifdef ENABLE_NLS
40  setlocale (LC_ALL, "");
41  bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
42#endif /* ENABLE_NLS */
43
44  return TRUE;
45}
46
47GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
48    GST_VERSION_MINOR,
49    "roarsink",
50    "RoarAudio Element Plugins",
51    plugin_init, VERSION, "GPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
52
53
54//ll
Note: See TracBrowser for help on using the repository browser.