Mercurial > audlegacy-plugins
view src/sexypsf/driver.h @ 585:2d20bc58a290 trunk
[svn] tweak xspf plugin to conform xspf specification version 1.
- arrange the order of elements to pass several validators.
- specify character set and encoding as UTF-8.
- now urls beginning with file:// can be used.
- prepend file:// onto local file entry to save (tentative).
author | yaz |
---|---|
date | Tue, 30 Jan 2007 23:14:02 -0800 |
parents | 3da1b8942b8b |
children |
line wrap: on
line source
#include "types.h" typedef struct __PSFTAG { char *key; char *value; struct __PSFTAG *next; } PSFTAG; typedef struct { u32 length; u32 stop; u32 fade; char *title,*artist,*game,*year,*genre,*psfby,*comment,*copyright; PSFTAG *tags; } PSFINFO; int sexypsf_seek(u32 t); void sexypsf_stop(void); void sexypsf_execute(void); PSFINFO *sexypsf_load(char *path); PSFINFO *sexypsf_getpsfinfo(char *path); void sexypsf_freepsfinfo(PSFINFO *info); void sexypsf_update(unsigned char*,long);