diff options
Diffstat (limited to 'gst-libs/gst/resample/resample.c')
-rw-r--r-- | gst-libs/gst/resample/resample.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/resample/resample.c b/gst-libs/gst/resample/resample.c index 286cb84b..b78ceb49 100644 --- a/gst-libs/gst/resample/resample.c +++ b/gst-libs/gst/resample/resample.c @@ -24,6 +24,8 @@ #include <stdlib.h> #include <resample.h> +#include <gst/gstplugin.h> +#include <gst/gstversion.h> inline double sinc(double x) { @@ -528,3 +530,16 @@ static void resample_sinc_ft(resample_t * r) } } +static gboolean +plugin_init (GModule *module, GstPlugin *plugin) +{ + gst_plugin_set_longname (plugin, "Resampling routines for use in audio plugins"); + return TRUE; +} + +GstPluginDesc plugin_desc = { + GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "gstresample", + plugin_init +}; |