# HG changeset patch # User nenolod # Date 1180075640 25200 # Node ID 80d9d46f6ee4568e2aefa67ef9f11159d2e04697 # Parent b48e42a3cabbeab29b2428360fb0b2d901f10cb7 [svn] - stereo: convert to plugin API v2 diff -r b48e42a3cabb -r 80d9d46f6ee4 ChangeLog --- 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 + 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 revision [2378] - echo: convert to plugin API v2 diff -r b48e42a3cabb -r 80d9d46f6ee4 src/stereo_plugin/stereo.c --- 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) {