diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-10 13:31:06 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-10 13:31:06 +0000 |
commit | c0b67627b12536efe6bac5a065f1e6b0a5d39c72 (patch) | |
tree | 12b9ddde7d468c2dbed85abdc6b3842031811939 /src/plugin.c | |
parent | 626941c51c739ae7fcfc2cb46e6edc2336b393e7 (diff) |
initial commit
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@3 bb39ca4e-bce3-0310-b5d4-eea78a553289
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c new file mode 100644 index 0000000..900fd17 --- /dev/null +++ b/src/plugin.c @@ -0,0 +1,25 @@ +#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/") |