view src/sexypsf/driver.h @ 3119:e0b95157aa33

Remove non-existant CD tracks from playlist. Sorry, Luis, I guess you were outvoted.
author John Lindgren <john.lindgren@tds.net>
date Mon, 04 May 2009 23:23:36 -0400
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);