Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / sys / directsound / gstdirectsoundplugin.c
1 /* GStreamer
2 * Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
3 * Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
4 *
5 * gstdirectsoundplugin.c:
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21
22 *
23 * The development of this code was made possible due to the involvement
24 * of Pioneers of the Inevitable, the creators of the Songbird Music player
25 *
26 */
27
28 #ifdef HAVE_CONFIG_H
29 #include "config.h"
30 #endif
31
32 #include "gstdirectsoundsink.h"
33
34
35 static gboolean
36 plugin_init (GstPlugin * plugin)
37 {
38   if (!gst_element_register (plugin, "directsoundsink", GST_RANK_PRIMARY,
39           GST_TYPE_DIRECTSOUND_SINK))
40     return FALSE;
41
42   return TRUE;
43 }
44
45 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
46     GST_VERSION_MINOR,
47     "directsound",
48     "Direct Sound plugin library",
49     plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)