Mercurial > audlegacy-plugins
changeset 1063:872a2f7d3f6e trunk
[svn] - port to plugin2 API
author | nenolod |
---|---|
date | Thu, 24 May 2007 03:35:01 -0700 |
parents | 1d65dcdb714c |
children | ea044f6279b9 |
files | ChangeLog src/wav/wav-sndfile.c |
diffstat | 2 files changed, 17 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <nenolod@sacredspiral.co.uk> + 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 <nenolod@sacredspiral.co.uk> revision [2288] - remove xmms_session values per plugin api v2
--- 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)