changeset 1071:bd897d14d627 trunk

[svn] - update sndstretch to plugin API v2
author nenolod
date Thu, 24 May 2007 12:24:11 -0700
parents aa85fe8d2473
children 1c6a18ddc874
files ChangeLog src/sndstretch/sndstretch_xmms.c
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 12:22:58 2007 -0700
+++ b/ChangeLog	Thu May 24 12:24:11 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-24 19:22:58 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2306]
+  - update FLAC plugin to plugin API v2
+  
+  trunk/src/flac/plugin.c |   16 +++++-----------
+  1 file changed, 5 insertions(+), 11 deletions(-)
+
+
 2007-05-24 19:19:58 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2304]
   - update libconsole to plugin API v2
--- a/src/sndstretch/sndstretch_xmms.c	Thu May 24 12:22:58 2007 -0700
+++ b/src/sndstretch/sndstretch_xmms.c	Thu May 24 12:24:11 2007 -0700
@@ -53,11 +53,9 @@
 	NULL
 };
 
+EffectPlugin *sndstretch_eplist[] = { &sndstretch_ep, NULL };
 
-EffectPlugin *get_eplugin_info(void)
-{
-	return &sndstretch_ep;
-}
+DECLARE_PLUGIN(sndstretch, NULL, NULL, NULL, NULL, sndstretch_eplist, NULL, NULL);
 
 static struct {
 	int handle;    // file handle