Mercurial > hg > xmms-sid
comparison src/xmms-sid.h @ 78:ab522ab65c85
Various fixes and improvements
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 03 Oct 2003 03:11:05 +0000 |
parents | 2bc607888f53 |
children | 94497283affa |
comparison
equal
deleted
inserted
replaced
77:3fca0b13a80a | 78:ab522ab65c85 |
---|---|
18 | 18 |
19 You should have received a copy of the GNU General Public License | 19 You should have received a copy of the GNU General Public License |
20 along with this program; if not, write to the Free Software | 20 along with this program; if not, write to the Free Software |
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
22 */ | 22 */ |
23 #define DEBUG | |
24 | |
25 #ifndef XMMS_SID_H | 23 #ifndef XMMS_SID_H |
26 #define XMMS_SID_H | 24 #define XMMS_SID_H |
27 | 25 |
28 #ifdef __cplusplus | 26 #ifdef __cplusplus |
29 extern "C" { | 27 extern "C" { |
32 #include <config.h> | 30 #include <config.h> |
33 #include <glib.h> | 31 #include <glib.h> |
34 #include <xmms/plugin.h> | 32 #include <xmms/plugin.h> |
35 #include <assert.h> | 33 #include <assert.h> |
36 | 34 |
35 /* | |
36 * Some defines | |
37 */ | |
38 #define DEBUG /* ... */ | |
39 #undef HAVE_HARDSID_BUILDER /* HardSID-support is not working and is untested */ | |
37 | 40 |
38 /* | 41 /* |
39 * Generals | 42 * Generals |
40 */ | 43 */ |
41 #define XS_BUFSIZE (4096) /* Size for some buffers */ | 44 #define XS_BUFSIZE (4096) /* Size for some buffers */ |
50 | 53 |
51 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */ | 54 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */ |
52 | 55 |
53 | 56 |
54 typedef struct { | 57 typedef struct { |
58 gint tuneSpeed; | |
59 gint tuneLength; | |
60 gchar *titleStr; | |
61 } t_xs_tuneinfo; | |
62 | |
63 | |
64 typedef struct { | |
55 void *player; | 65 void *player; |
56 gboolean isError, isPlaying, allowNext; | 66 gboolean isError, isPlaying, allowNext; |
57 gint currSong, nSongs; | 67 gint currSong, nSongs, startSong; |
58 gchar *currFileName; | 68 gchar *currFileName; |
69 t_xs_tuneinfo subTunes[XS_STIL_MAXENTRY]; | |
59 } t_xs_status; | 70 } t_xs_status; |
60 | 71 |
61 extern t_xs_status xs_status; | 72 extern t_xs_status xs_status; |
62 | 73 |
63 | 74 |