view src/xs_sidplayfp.h @ 955:3c2efa18c422

Change semantics of xs_fread_be{32,16}() functions to match xs_fread_str() and xs_fread_byte() and change the PSID/RSID file parsing for SLDB MD5 calculation to use them. Also, fix the parser so that PSID/RSID v3 files are supported correctly.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Nov 2012 21:28:39 +0200
parents b02f934d8224
children
line wrap: on
line source

#ifndef XS_SIDPLAYFP_H
#define XS_SIDPLAYFP_H

#include "xs_backend.h"
#include "xs_support.h"

#ifdef __cplusplus
extern "C" {
#endif

gboolean    xs_sidplayfp_probe(XSFile *);
void        xs_sidplayfp_close(XSEngineState *);
gboolean    xs_sidplayfp_init(XSEngineState *);
gboolean    xs_sidplayfp_initsong(XSEngineState *);
guint       xs_sidplayfp_fillbuffer(XSEngineState *, gchar *, guint);
gboolean    xs_sidplayfp_load(XSEngineState *, gchar *);
void        xs_sidplayfp_delete(XSEngineState *);
XSTuneInfo* xs_sidplayfp_getinfo(const gchar *);
gboolean    xs_sidplayfp_updateinfo(XSEngineState *);
void        xs_sidplayfp_flush(XSEngineState *);

#ifdef __cplusplus
}
#endif
#endif /* XS_SIDPLAYFP_H */