comparison src/xmms-sid.h @ 92:2607683bc9eb

Improvements in length- and title handling.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Nov 2003 18:30:02 +0000
parents 94497283affa
children 426e443240b8
comparison
equal deleted inserted replaced
91:f9063960f04e 92:2607683bc9eb
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 #ifndef XMMS_SID_H 23 #ifndef _XMMS_SID_H
24 #define XMMS_SID_H 24 #define _XMMS_SID_H
25 25
26 #ifdef __cplusplus 26 #ifdef __cplusplus
27 extern "C" { 27 extern "C" {
28 #endif 28 #endif
29 29
30 #ifdef HAVE_CONFIG_H
30 #include <config.h> 31 #include <config.h>
32 #endif
33 #ifdef HAVE_ASSERT_H
34 #include <assert.h>
35 #else
36 #define assert(x) /* stub */
37 #endif
31 #include <glib.h> 38 #include <glib.h>
32 #include <xmms/plugin.h> 39 #include <xmms/plugin.h>
33 #include <assert.h>
34 40
35 /* 41 /*
36 * Some defines 42 * Some defines
37 */ 43 */
38 /*#define DEBUG */ 44 /*#define DEBUG */
44 #define XS_BUFSIZE (4096) /* Size for some buffers */ 50 #define XS_BUFSIZE (4096) /* Size for some buffers */
45 51
46 #define XS_CONFIG_IDENT "XMMS-SID" /* Configuration file identifier */ 52 #define XS_CONFIG_IDENT "XMMS-SID" /* Configuration file identifier */
47 #define XS_CONFIG_FILE "/.xmms/xmms-sid" /* Use this configfile if autocyrpe fails */ 53 #define XS_CONFIG_FILE "/.xmms/xmms-sid" /* Use this configfile if autocyrpe fails */
48 54
49 #define XS_STIL_MAXENTRY (48) /* Max number of sub-songs in STIL/SLDB node */ 55 #define XS_STIL_MAXENTRY (128) /* Max number of sub-songs in STIL/SLDB node */
50 56
51 #define XS_MIN_OVERSAMPLE (2) /* Minimum oversampling factor */ 57 #define XS_MIN_OVERSAMPLE (2) /* Minimum oversampling factor */
52 #define XS_MAX_OVERSAMPLE (8) /* Maximum oversampling factor */ 58 #define XS_MAX_OVERSAMPLE (8) /* Maximum oversampling factor */
53 59
54 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */ 60 extern InputPlugin xs_plugin_ip; /* XMMS-SID plugin structure */
111 117
112 118
113 #ifdef __cplusplus 119 #ifdef __cplusplus
114 } 120 }
115 #endif 121 #endif
116 #endif /* XMMS_SID_H */ 122 #endif /* _XMMS_SID_H */