# HG changeset patch # User nenolod # Date 1180002901 25200 # Node ID 872a2f7d3f6e86b37067f6b76e74c27964420a33 # Parent 1d65dcdb714c11a8e1aaa3ce57f4cc3d6d36e75f [svn] - port to plugin2 API diff -r 1d65dcdb714c -r 872a2f7d3f6e ChangeLog --- a/ChangeLog Thu May 24 02:12:43 2007 -0700 +++ b/ChangeLog Thu May 24 03:35:01 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-24 09:12:43 +0000 William Pitcock + revision [2290] + - bump version of plugins and version requirements per plugin api v2 + + trunk/configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + + 2007-05-24 09:11:23 +0000 William Pitcock revision [2288] - remove xmms_session values per plugin api v2 diff -r 1d65dcdb714c -r 872a2f7d3f6e src/wav/wav-sndfile.c --- a/src/wav/wav-sndfile.c Thu May 24 02:12:43 2007 -0700 +++ b/src/wav/wav-sndfile.c Thu May 24 03:35:01 2007 -0700 @@ -338,10 +338,16 @@ } } - -InputPlugin *get_iplugin_info(void) +void init(void) { wav_ip.description = g_strdup_printf(_("sndfile WAV plugin")); - return &wav_ip; } +void fini(void) +{ + g_free(wav_ip.description); +} + +InputPlugin *wav_iplist[] = { &wav_ip, NULL }; + +DECLARE_PLUGIN(wav-sndfile, init, fini, wav_iplist, NULL, NULL, NULL, NULL)