2002-03-20 21:45:03 +00:00
|
|
|
/* GStreamer
|
2001-12-17 19:03:13 +00:00
|
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2001-12-17 19:03:13 +00:00
|
|
|
*/
|
|
|
|
|
2003-09-13 01:22:59 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
2001-12-17 19:03:13 +00:00
|
|
|
|
2022-03-25 13:59:23 +00:00
|
|
|
#include <glib/gi18n-lib.h>
|
2004-01-19 15:45:55 +00:00
|
|
|
|
2012-12-12 17:35:04 +00:00
|
|
|
#include "common.h"
|
2021-02-16 15:11:36 +00:00
|
|
|
#include "gstossaudioelements.h"
|
2001-12-17 19:03:13 +00:00
|
|
|
#include "gstosssink.h"
|
|
|
|
#include "gstosssrc.h"
|
|
|
|
|
2004-01-12 12:07:28 +00:00
|
|
|
|
2001-12-17 19:03:13 +00:00
|
|
|
static gboolean
|
2004-03-14 22:34:33 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2001-12-17 19:03:13 +00:00
|
|
|
{
|
2021-02-16 15:11:36 +00:00
|
|
|
gboolean ret = FALSE;
|
|
|
|
|
|
|
|
ret |= GST_ELEMENT_REGISTER (osssrc, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (osssink, plugin);
|
2004-01-19 15:45:55 +00:00
|
|
|
|
2001-12-17 19:03:13 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 15:36:38 +00:00
|
|
|
ossaudio,
|
2004-03-14 22:34:33 +00:00
|
|
|
"OSS (Open Sound System) support for GStreamer",
|
2005-11-14 02:13:35 +00:00
|
|
|
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|