Mercurial > hg > xmms-sid
view src/xs_player.h @ 819:ab3216b1b582
Audio format was being forced to S16 NE even when it shouldn't have been.
Fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 07 Nov 2012 15:26:45 +0200 |
parents | 13483b855058 |
children |
line wrap: on
line source
#ifndef XS_PLAYER_H #define XS_PLAYER_H #include "xmms-sid.h" #ifdef __cplusplus extern "C" { #endif struct XSEngineState; typedef struct { gint plrIdent; gboolean (*plrProbe)(XSFile *); gboolean (*plrInit)(struct XSEngineState *); void (*plrClose)(struct XSEngineState *); gboolean (*plrInitSong)(struct XSEngineState *); guint (*plrFillBuffer)(struct XSEngineState *, gchar *, guint); gboolean (*plrLoadSID)(struct XSEngineState *, gchar *); void (*plrDeleteSID)(struct XSEngineState *); XSTuneInfo* (*plrGetSIDInfo)(const gchar *); gboolean (*plrUpdateSIDInfo)(struct XSEngineState *); void (*plrFlush)(struct XSEngineState *); } XSEngine; typedef struct XSEngineState { gint audioFrequency, /* Audio settings */ audioChannels, audioBitsPerSample; AFormat audioFormat; void *internal; /* SID-emulation internal engine data */ XSEngine *engine; /* Selected player engine */ gboolean error, playing, paused; gint currSong, /* Current sub-tune */ lastTime; XSTuneInfo *tuneInfo; } XSEngineState; #ifdef __cplusplus } #endif #endif /* XS_PLAYER_H */