Mercurial > hg > xmms-sid
view src/xs_sidplay2.h @ 957:0e60e5d56fdd
Change how the backend emulator library is initialized for libSIDPlay2 and
FP, as it seems the engine configuration has some persistence despite
reconfiguration between loaded files if same engine object is retained. This
caused, for example, 2SID stereo tunes being played "mono" if played after a
normal 1-SID tune. Duh.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Nov 2012 22:13:48 +0200 |
parents | b02f934d8224 |
children |
line wrap: on
line source
#ifndef XS_SIDPLAY2_H #define XS_SIDPLAY2_H #include "xs_backend.h" #include "xs_support.h" #ifdef __cplusplus extern "C" { #endif gboolean xs_sidplay2_probe(XSFile *); void xs_sidplay2_close(XSEngineState *); gboolean xs_sidplay2_init(XSEngineState *); gboolean xs_sidplay2_initsong(XSEngineState *); guint xs_sidplay2_fillbuffer(XSEngineState *, gchar *, guint); gboolean xs_sidplay2_load(XSEngineState *, gchar *); void xs_sidplay2_delete(XSEngineState *); XSTuneInfo* xs_sidplay2_getinfo(const gchar *); gboolean xs_sidplay2_updateinfo(XSEngineState *); void xs_sidplay2_flush(XSEngineState *); #ifdef __cplusplus } #endif #endif /* XS_SIDPLAY2_H */