comparison src/xmms-sid.h @ 72:e3b205a6bc7e

Lots re-arranging and new code for upcoming modularization.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 12 Sep 2003 03:26:04 +0000
parents bf7b647b3239
children 2bc607888f53
comparison
equal deleted inserted replaced
71:2b32c75729ce 72:e3b205a6bc7e
32 #include <config.h> 32 #include <config.h>
33 #include <glib.h> 33 #include <glib.h>
34 #include <xmms/plugin.h> 34 #include <xmms/plugin.h>
35 #include <assert.h> 35 #include <assert.h>
36 36
37
37 /* 38 /*
38 * Generals 39 * Generals
39 */ 40 */
40 #define XS_BUFSIZE (4096) /* Size for some buffers */ 41 #define XS_BUFSIZE (4096) /* Size for some buffers */
41 42
45 #define XS_STIL_MAXENTRY (48) /* Max number of sub-songs in STIL/SLDB node */ 46 #define XS_STIL_MAXENTRY (48) /* Max number of sub-songs in STIL/SLDB node */
46 47
47 #define XS_MIN_OVERSAMPLE (2) /* Minimum oversampling factor */ 48 #define XS_MIN_OVERSAMPLE (2) /* Minimum oversampling factor */
48 #define XS_MAX_OVERSAMPLE (8) /* Maximum oversampling factor */ 49 #define XS_MAX_OVERSAMPLE (8) /* Maximum oversampling factor */
49 50
51 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */
50 52
51 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */ 53
54
55 typedef struct {
56 void *currConf;
57 void *currEng;
58 gboolean isError, isPlaying, allowNext;
59 gint currSong, nSongs;
60 void *currTune;
61 gchar *currFileName;
62 } t_xs_status;
63
64 extern t_xs_status xs_status;
52 65
53 66
54 /* 67 /*
55 * Plugin function prototypes 68 * Plugin function prototypes
56 */ 69 */