2002-05-26 21:59:21 +00:00
|
|
|
/* GStreamer
|
|
|
|
* 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
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2003-11-07 12:47:02 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
2002-05-26 21:59:21 +00:00
|
|
|
|
|
|
|
#include "gstafsrc.h"
|
|
|
|
#include "gstafsink.h"
|
|
|
|
#include "gstafparse.h"
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
gboolean gst_aftypes_plugin_init (GstPlugin * plugin);
|
2003-10-29 05:09:40 +00:00
|
|
|
|
2002-05-26 21:59:21 +00:00
|
|
|
static gboolean
|
2004-03-14 22:34:33 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2002-05-26 21:59:21 +00:00
|
|
|
{
|
2003-10-28 20:52:41 +00:00
|
|
|
if (!gst_library_load ("gstbytestream"))
|
|
|
|
return FALSE;
|
|
|
|
|
2003-11-01 14:04:20 +00:00
|
|
|
gst_afsink_plugin_init (plugin);
|
|
|
|
gst_afsrc_plugin_init (plugin);
|
|
|
|
gst_afparse_plugin_init (plugin);
|
2002-05-26 21:59:21 +00:00
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2005-08-14 16:10:55 +00:00
|
|
|
"audiofile",
|
2006-04-01 10:09:11 +00:00
|
|
|
"Audiofile plugin", plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME,
|
|
|
|
GST_PACKAGE_ORIGIN)
|