comparison src/xmms-sid.h @ 87:94497283affa

Various fixes and improvements
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Oct 2003 10:38:03 +0000
parents ab522ab65c85
children 2607683bc9eb
comparison
equal deleted inserted replaced
86:9533b78f1a7d 87:94497283affa
33 #include <assert.h> 33 #include <assert.h>
34 34
35 /* 35 /*
36 * Some defines 36 * Some defines
37 */ 37 */
38 #define DEBUG /* ... */ 38 /*#define DEBUG */
39 #undef HAVE_HARDSID_BUILDER /* HardSID-support is not working and is untested */ 39 #undef HAVE_HARDSID_BUILDER /* HardSID-support is not working and is untested */
40 40
41 /* 41 /*
42 * Generals 42 * Generals
43 */ 43 */
55 55
56 56
57 typedef struct { 57 typedef struct {
58 gint tuneSpeed; 58 gint tuneSpeed;
59 gint tuneLength; 59 gint tuneLength;
60 gchar *titleStr; 60 gchar *tuneTitle;
61 } t_xs_tuneinfo; 61 } t_xs_subtune;
62
63
64 typedef struct {
65 gchar *tuneFilename;
66 gint nsubTunes, startTune;
67 t_xs_subtune subTunes[XS_STIL_MAXENTRY];
68 } t_xs_tune;
62 69
63 70
64 typedef struct { 71 typedef struct {
65 void *player; 72 void *player;
66 gboolean isError, isPlaying, allowNext; 73 gboolean isError, isPlaying;
67 gint currSong, nSongs, startSong; 74 gint currSong;
68 gchar *currFileName; 75 t_xs_tune *pTune;
69 t_xs_tuneinfo subTunes[XS_STIL_MAXENTRY];
70 } t_xs_status; 76 } t_xs_status;
77
71 78
72 extern t_xs_status xs_status; 79 extern t_xs_status xs_status;
73 80
74 81
75 /* 82 /*
85 gint xs_get_time(void); 92 gint xs_get_time(void);
86 void xs_get_song_info(gchar *, gchar **, gint *); 93 void xs_get_song_info(gchar *, gchar **, gint *);
87 //void xs_file_info_box(gchar *); 94 //void xs_file_info_box(gchar *);
88 void xs_about(void); 95 void xs_about(void);
89 96
97 t_xs_tune *xs_tune_new(gchar *, gint, gint);
98 void xs_tune_free(t_xs_tune *);
99
90 100
91 /* 101 /*
92 * Debugging and error handling macros 102 * Debugging and error handling macros
93 */ 103 */
94 #ifdef DEBUG 104 #ifdef DEBUG