changeset 1108:80d9d46f6ee4 trunk

[svn] - stereo: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:47:20 -0700
parents b48e42a3cabb
children d490d566a431
files ChangeLog src/stereo_plugin/stereo.c
diffstat 2 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:46:18 2007 -0700
+++ b/ChangeLog	Thu May 24 23:47:20 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:46:18 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2380]
+  - ladspa: convert to plugin API v2
+  
+  trunk/src/ladspa/ladspa.c |    9 ++++-----
+  1 file changed, 4 insertions(+), 5 deletions(-)
+
+
 2007-05-25 06:44:53 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2378]
   - echo: convert to plugin API v2
--- a/src/stereo_plugin/stereo.c	Thu May 24 23:46:18 2007 -0700
+++ b/src/stereo_plugin/stereo.c	Thu May 24 23:47:20 2007 -0700
@@ -18,7 +18,7 @@
 {
 	NULL,
 	NULL,
-	NULL, /* Description */
+	"Extra Stereo Plugin", /* Description */
 	init,
 	NULL,
 	about,
@@ -32,12 +32,9 @@
 static GtkWidget *conf_dialog = NULL;
 static gdouble value;
 
-EffectPlugin *get_eplugin_info(void)
-{
-	stereo_ep.description =
-		g_strdup_printf(_("Extra Stereo Plugin %s"), VERSION);
-	return &stereo_ep;
-}
+EffectPlugin *stereo_eplist[] = { &stereo_ep, NULL };
+
+DECLARE_PLUGIN(stereo, NULL, NULL, NULL, NULL, stereo_eplist, NULL, NULL);
 
 static void init(void)
 {