changeset 1107:b48e42a3cabb trunk

[svn] - ladspa: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:46:18 -0700
parents 8ca72224786a
children 80d9d46f6ee4
files ChangeLog src/ladspa/ladspa.c
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:44:53 2007 -0700
+++ b/ChangeLog	Thu May 24 23:46:18 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:44:53 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2378]
+  - echo: convert to plugin API v2
+  
+  trunk/src/echo_plugin/echo.c |   10 ++++------
+  1 file changed, 4 insertions(+), 6 deletions(-)
+
+
 2007-05-25 06:43:44 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2376]
   - audiocompress: convert to plugin API v2
--- a/src/ladspa/ladspa.c	Thu May 24 23:44:53 2007 -0700
+++ b/src/ladspa/ladspa.c	Thu May 24 23:46:18 2007 -0700
@@ -37,7 +37,7 @@
 #define PATH_MAX 4096
 #endif
 
-#define PLUGIN_NAME "LADSPA host " PACKAGE_VERSION
+#define PLUGIN_NAME "LADSPA host"
 
 #define MAX_SAMPLES 8192
 #define MAX_KNOBS 64
@@ -126,10 +126,9 @@
   NULL
 };
 
-EffectPlugin *get_eplugin_info (void)
-{
-  return &xmms_plugin;
-}
+EffectPlugin *ladspa_eplist[] = { &ladspa_ep, NULL };
+
+DECLARE_PLUGIN(ladspa, NULL, NULL, NULL, NULL, ladspa_eplist, NULL, NULL);
 
 static void start (void)
 {