# HG changeset patch # User nenolod # Date 1180073796 25200 # Node ID 3bcb772fa1b57519ca5b316896ad2042751f2727 # Parent f61ed3f66f2a4863ee09461bade544a2afd5be99 [svn] - sexypsf: convert to plugin API v2 diff -r f61ed3f66f2a -r 3bcb772fa1b5 ChangeLog --- 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 + 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 revision [2342] - cue: convert to plugin API v2 diff -r f61ed3f66f2a -r 3bcb772fa1b5 src/sexypsf/xmms.c --- 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);