diff 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
line wrap: on
line diff
--- a/src/xmms-sid.h	Sun Oct 05 14:22:04 2003 +0000
+++ b/src/xmms-sid.h	Tue Nov 18 18:30:02 2003 +0000
@@ -20,17 +20,23 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
-#ifndef XMMS_SID_H
-#define XMMS_SID_H
+#ifndef _XMMS_SID_H
+#define _XMMS_SID_H
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
+#ifdef HAVE_ASSERT_H
+#include <assert.h>
+#else
+#define assert(x) /* stub */
+#endif
 #include <glib.h>
 #include <xmms/plugin.h>
-#include <assert.h>
 
 /*
  * Some defines
@@ -46,7 +52,7 @@
 #define XS_CONFIG_IDENT		"XMMS-SID"	/* Configuration file identifier */
 #define XS_CONFIG_FILE		"/.xmms/xmms-sid"	/* Use this configfile if autocyrpe fails */
 
-#define XS_STIL_MAXENTRY	(48)		/* Max number of sub-songs in STIL/SLDB node */
+#define XS_STIL_MAXENTRY	(128)		/* Max number of sub-songs in STIL/SLDB node */
 
 #define XS_MIN_OVERSAMPLE	(2)		/* Minimum oversampling factor */
 #define XS_MAX_OVERSAMPLE	(8)		/* Maximum oversampling factor */
@@ -113,4 +119,4 @@
 #ifdef __cplusplus
 }
 #endif
-#endif /* XMMS_SID_H */
+#endif /* _XMMS_SID_H */