Mercurial > audlegacy-plugins
diff src/stereo_plugin/stereo.c @ 1108:80d9d46f6ee4 trunk
[svn] - stereo: convert to plugin API v2
| author | nenolod |
|---|---|
| date | Thu, 24 May 2007 23:47:20 -0700 |
| parents | d124034ebea3 |
| children | 761e17b23e0c |
line wrap: on
line diff
--- 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) {
