diff options
author | Iain Holmes <iain@prettypeople.org> | 2004-11-12 15:04:55 +0000 |
---|---|---|
committer | Iain Holmes <iain@prettypeople.org> | 2004-11-12 15:04:55 +0000 |
commit | 0548c564476082e4eb94ea96a629bf8427420b5e (patch) | |
tree | 8ecd2d8efa3a0fc74692873398df6d459fc8cbe7 /ext/polyp/plugin.c | |
parent | c39ed546c7cf1f2bd80fc721267d56d18dfb97c9 (diff) | |
download | gst-plugins-bad-0548c564476082e4eb94ea96a629bf8427420b5e.tar.gz gst-plugins-bad-0548c564476082e4eb94ea96a629bf8427420b5e.tar.bz2 gst-plugins-bad-0548c564476082e4eb94ea96a629bf8427420b5e.zip |
Added the polypaudio sink and hooked it into the build system.
Original commit message from CVS:
Added the polypaudio sink and hooked it into the build system.
Diffstat (limited to 'ext/polyp/plugin.c')
-rw-r--r-- | ext/polyp/plugin.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/polyp/plugin.c b/ext/polyp/plugin.c new file mode 100644 index 00000000..aea78e24 --- /dev/null +++ b/ext/polyp/plugin.c @@ -0,0 +1,26 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "polypsink.h" + +GST_DEBUG_CATEGORY (polyp_debug); + +static gboolean +plugin_init (GstPlugin * plugin) +{ + if (!gst_library_load ("gstaudio")) + return FALSE; + + if (!(gst_polypsink_factory_init (plugin))) + return FALSE; + + GST_DEBUG_CATEGORY_INIT (polyp_debug, "polyp", 0, "Polypaudio elements"); + return TRUE; +} + +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, + "polypsink", "Polypaudio Element Plugins", + plugin_init, + VERSION, + "LGPL", "polypaudio", "http://0pointer.de/lennart/projects/gst-polyp/") |