changeset 1090:3bcb772fa1b5 trunk

[svn] - sexypsf: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:16:36 -0700
parents f61ed3f66f2a
children daa0323924d6
files ChangeLog src/sexypsf/xmms.c
diffstat 2 files changed, 13 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:14:57 2007 -0700
+++ b/ChangeLog	Thu May 24 23:16:36 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:14:57 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2344]
+  - metronom: convert to plugin API v2
+  
+  trunk/src/metronom/metronom.c |    9 ++++-----
+  1 file changed, 4 insertions(+), 5 deletions(-)
+
+
 2007-05-25 06:13:01 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2342]
   - cue: convert to plugin API v2
--- a/src/sexypsf/xmms.c	Thu May 24 23:14:57 2007 -0700
+++ b/src/sexypsf/xmms.c	Thu May 24 23:16:36 2007 -0700
@@ -45,13 +45,6 @@
 static GThread *dethread;
 static PSFINFO *PSFInfo=NULL;
 
-
-InputPlugin *get_iplugin_info(void)
-      {
-         sexypsf_ip.description = "PSF Module Decoder";
-         return &sexypsf_ip;
-      }
-
 static int is_our_fd(gchar *filename, VFSFile *file) {
 	gchar magic[4], *tmps;
 	// Filter out psflib [we use them, but we can't play them]
@@ -264,7 +257,7 @@
 {
 	NULL,
 	NULL,
-	"Plays PSF1 files.",
+	"PSF Audio Plugin",
 	NULL,
 	NULL,
 	NULL,
@@ -292,3 +285,7 @@
 	is_our_fd,
 	sexypsf_fmts,
 };
+
+InputPlugin *sexypsf_iplist[] = { &sexypsf_ip, NULL };
+
+DECLARE_PLUGIN(sexypsf, NULL, NULL, sexypsf_iplist, NULL, NULL, NULL, NULL);