changeset 1109:d490d566a431 trunk

[svn] - voice_removal: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:50:52 -0700
parents 80d9d46f6ee4
children 3604b510fe85
files ChangeLog src/voice_removal/voice_removal.c
diffstat 2 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:47:20 2007 -0700
+++ b/ChangeLog	Thu May 24 23:50:52 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:47:20 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2382]
+  - stereo: convert to plugin API v2
+  
+  trunk/src/stereo_plugin/stereo.c |   11 ++++-------
+  1 file changed, 4 insertions(+), 7 deletions(-)
+
+
 2007-05-25 06:46:18 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2380]
   - ladspa: convert to plugin API v2
--- 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) {