Mercurial > audlegacy-plugins
diff src/sexypsf/xmms.c @ 1090:3bcb772fa1b5 trunk
[svn] - sexypsf: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:16:36 -0700 |
parents | 914c96de3244 |
children | 2ae8155baef1 |
line wrap: on
line diff
--- 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);