Mercurial > hg > xmms-sid
diff src/xs_player.h @ 660:b0743dc9165d
Change tabs to 4 spaces, everywhere.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 02 Apr 2008 22:10:05 +0300 |
parents | acaba070cf49 |
children | 4bf845090a25 |
line wrap: on
line diff
--- a/src/xs_player.h Wed Apr 02 21:29:26 2008 +0300 +++ b/src/xs_player.h Wed Apr 02 22:10:05 2008 +0300 @@ -11,45 +11,45 @@ struct xs_status_t; typedef struct { - gint plrIdent; - gboolean (*plrProbe)(xs_file_t *); - gboolean (*plrInit)(struct xs_status_t *); - void (*plrClose)(struct xs_status_t *); - gboolean (*plrInitSong)(struct xs_status_t *); - guint (*plrFillBuffer)(struct xs_status_t *, gchar *, guint); - gboolean (*plrLoadSID)(struct xs_status_t *, gchar *); - void (*plrDeleteSID)(struct xs_status_t *); - xs_tuneinfo_t* (*plrGetSIDInfo)(const gchar *); - gboolean (*plrUpdateSIDInfo)(struct xs_status_t *); - void (*plrFlush)(struct xs_status_t *); + gint plrIdent; + gboolean (*plrProbe)(xs_file_t *); + gboolean (*plrInit)(struct xs_status_t *); + void (*plrClose)(struct xs_status_t *); + gboolean (*plrInitSong)(struct xs_status_t *); + guint (*plrFillBuffer)(struct xs_status_t *, gchar *, guint); + gboolean (*plrLoadSID)(struct xs_status_t *, gchar *); + void (*plrDeleteSID)(struct xs_status_t *); + xs_tuneinfo_t* (*plrGetSIDInfo)(const gchar *); + gboolean (*plrUpdateSIDInfo)(struct xs_status_t *); + void (*plrFlush)(struct xs_status_t *); } xs_player_t; typedef struct xs_status_t { - gint audioFrequency, /* Audio settings */ - audioChannels, - audioBitsPerSample, - oversampleFactor; /* Factor of oversampling */ - AFormat audioFormat; - gboolean oversampleEnable; /* TRUE after sidEngine initialization, - if xs_cfg.oversampleEnable == TRUE and - emulation backend supports oversampling. - */ - void *sidEngine; /* SID-emulation internal engine data */ - xs_player_t *sidPlayer; /* Selected player engine */ - gboolean isError, isPlaying, isInitialized; - gint currSong, /* Current sub-tune */ - lastTime; + gint audioFrequency, /* Audio settings */ + audioChannels, + audioBitsPerSample, + oversampleFactor; /* Factor of oversampling */ + AFormat audioFormat; + gboolean oversampleEnable; /* TRUE after sidEngine initialization, + if xs_cfg.oversampleEnable == TRUE and + emulation backend supports oversampling. + */ + void *sidEngine; /* SID-emulation internal engine data */ + xs_player_t *sidPlayer; /* Selected player engine */ + gboolean isError, isPlaying, isInitialized; + gint currSong, /* Current sub-tune */ + lastTime; - xs_tuneinfo_t *tuneInfo; + xs_tuneinfo_t *tuneInfo; } xs_status_t; /* Global variables */ -extern InputPlugin xs_plugin_ip; +extern InputPlugin xs_plugin_ip; -extern xs_status_t xs_status; +extern xs_status_t xs_status; XS_MUTEX_H(xs_status);