Mercurial > audlegacy-plugins
changeset 1081:1233d2efceab trunk
[svn] - modplug: transition to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 16:34:36 -0700 |
parents | b51246bc3fb3 |
children | b2f24bd2b7db |
files | ChangeLog src/modplug/plugin.cxx |
diffstat | 2 files changed, 12 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 16:32:36 2007 -0700 +++ b/ChangeLog Thu May 24 16:34:36 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-24 23:32:36 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2326] + - wavpack: transition to plugin API v2 + + trunk/src/wavpack/libwavpack.cxx | 10 +++------- + 1 file changed, 3 insertions(+), 7 deletions(-) + + 2007-05-24 23:30:56 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2324] - musepack: transition to plugin API v2
--- a/src/modplug/plugin.cxx Thu May 24 16:32:36 2007 -0700 +++ b/src/modplug/plugin.cxx Thu May 24 16:34:36 2007 -0700 @@ -84,7 +84,7 @@ { NULL, NULL, - (gchar *)"ModPlug Player", + (gchar *)"ModPlug Audio Plugin", Init, ShowAboutBox, ShowConfigureBox, @@ -113,10 +113,6 @@ (gchar **)fmts, }; -extern "C" -{ - InputPlugin* get_iplugin_info (void) - { - return &gModPlug; - } -} +InputPlugin *modplug_iplist[] = { &gModPlug, NULL }; + +DECLARE_PLUGIN(modplug, NULL, NULL, modplug_iplist, NULL, NULL, NULL, NULL);