Mercurial > hg > xmms-sid
comparison src/xs_player.h @ 684:4bf845090a25
Indentation cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 May 2008 02:24:53 +0300 |
parents | b0743dc9165d |
children | 53a4210889e2 |
comparison
equal
deleted
inserted
replaced
683:3cc9b8e23d88 | 684:4bf845090a25 |
---|---|
14 gint plrIdent; | 14 gint plrIdent; |
15 gboolean (*plrProbe)(xs_file_t *); | 15 gboolean (*plrProbe)(xs_file_t *); |
16 gboolean (*plrInit)(struct xs_status_t *); | 16 gboolean (*plrInit)(struct xs_status_t *); |
17 void (*plrClose)(struct xs_status_t *); | 17 void (*plrClose)(struct xs_status_t *); |
18 gboolean (*plrInitSong)(struct xs_status_t *); | 18 gboolean (*plrInitSong)(struct xs_status_t *); |
19 guint (*plrFillBuffer)(struct xs_status_t *, gchar *, guint); | 19 guint (*plrFillBuffer)(struct xs_status_t *, gchar *, guint); |
20 gboolean (*plrLoadSID)(struct xs_status_t *, gchar *); | 20 gboolean (*plrLoadSID)(struct xs_status_t *, gchar *); |
21 void (*plrDeleteSID)(struct xs_status_t *); | 21 void (*plrDeleteSID)(struct xs_status_t *); |
22 xs_tuneinfo_t* (*plrGetSIDInfo)(const gchar *); | 22 xs_tuneinfo_t* (*plrGetSIDInfo)(const gchar *); |
23 gboolean (*plrUpdateSIDInfo)(struct xs_status_t *); | 23 gboolean (*plrUpdateSIDInfo)(struct xs_status_t *); |
24 void (*plrFlush)(struct xs_status_t *); | 24 void (*plrFlush)(struct xs_status_t *); |
25 } xs_player_t; | 25 } xs_player_t; |
26 | 26 |
27 | 27 |
28 typedef struct xs_status_t { | 28 typedef struct xs_status_t { |
29 gint audioFrequency, /* Audio settings */ | 29 gint audioFrequency, /* Audio settings */ |
30 audioChannels, | 30 audioChannels, |
31 audioBitsPerSample, | 31 audioBitsPerSample, |
32 oversampleFactor; /* Factor of oversampling */ | 32 oversampleFactor; /* Factor of oversampling */ |
33 AFormat audioFormat; | 33 AFormat audioFormat; |
34 gboolean oversampleEnable; /* TRUE after sidEngine initialization, | 34 gboolean oversampleEnable; /* TRUE after sidEngine initialization, |
35 if xs_cfg.oversampleEnable == TRUE and | 35 if xs_cfg.oversampleEnable == TRUE and |
36 emulation backend supports oversampling. | 36 emulation backend supports oversampling. |
37 */ | 37 */ |
38 void *sidEngine; /* SID-emulation internal engine data */ | 38 void *sidEngine; /* SID-emulation internal engine data */ |
39 xs_player_t *sidPlayer; /* Selected player engine */ | 39 xs_player_t *sidPlayer; /* Selected player engine */ |
40 gboolean isError, isPlaying, isInitialized; | 40 gboolean isError, |
41 gint currSong, /* Current sub-tune */ | 41 isPlaying, |
42 lastTime; | 42 isInitialized; |
43 gint currSong, /* Current sub-tune */ | |
44 lastTime; | |
43 | 45 |
44 xs_tuneinfo_t *tuneInfo; | 46 xs_tuneinfo_t *tuneInfo; |
45 } xs_status_t; | 47 } xs_status_t; |
46 | 48 |
47 | 49 |
48 /* Global variables | 50 /* Global variables |
49 */ | 51 */ |