diff src/voice_removal/voice_removal.c @ 1109:d490d566a431 trunk

[svn] - voice_removal: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:50:52 -0700
parents 67b56e61de74
children 761e17b23e0c
line wrap: on
line diff
--- a/src/voice_removal/voice_removal.c	Thu May 24 23:47:20 2007 -0700
+++ b/src/voice_removal/voice_removal.c	Thu May 24 23:50:52 2007 -0700
@@ -43,9 +43,9 @@
 	NULL
 };
 
-EffectPlugin *get_eplugin_info (void) {
-	return &xmms_plugin;
-}
+EffectPlugin *voice_eplist[] = { &xmms_plugin, NULL };
+
+DECLARE_PLUGIN(voice_removal, NULL, NULL, NULL, NULL, voice_eplist, NULL, NULL);
 
 static int apply_effect (gpointer *d, gint length, AFormat afmt,
 			gint srate, gint nch) {