Mercurial > audlegacy-plugins
changeset 1106:8ca72224786a trunk
[svn] - echo: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:44:53 -0700 |
parents | cd1cb9e3dd68 |
children | b48e42a3cabb |
files | ChangeLog src/echo_plugin/echo.c |
diffstat | 2 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 23:43:44 2007 -0700 +++ b/ChangeLog Thu May 24 23:44:53 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:43:44 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2376] + - audiocompress: convert to plugin API v2 + + trunk/src/audiocompress/audacious-glue.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + + 2007-05-25 06:41:51 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2374] - arts: convert to plugin API v2
--- a/src/echo_plugin/echo.c Thu May 24 23:43:44 2007 -0700 +++ b/src/echo_plugin/echo.c Thu May 24 23:44:53 2007 -0700 @@ -25,7 +25,7 @@ { NULL, NULL, - NULL, /* Description */ + "Echo Plugin", /* Description */ init, cleanup, echo_about, @@ -39,11 +39,9 @@ gboolean echo_surround_enable = FALSE; static int w_ofs; -EffectPlugin *get_eplugin_info(void) -{ - echo_ep.description = g_strdup_printf(_("Echo Plugin %s"), VERSION); - return &echo_ep; -} +EffectPlugin *echo_eplist[] = { &echo_ep, NULL }; + +DECLARE_PLUGIN(echo, NULL, NULL, NULL, NULL, echo_eplist, NULL, NULL); static void init(void) {