changeset 546:70fe31fe2bf5

Reordering cleanup and added constant for SIDPlay2 max # of filter coeffs.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 23 Feb 2007 05:10:05 +0000
parents 425da926d310
children 6490ceb38b64
files src/xmms-sid.h
diffstat 1 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.h	Fri Feb 23 05:10:00 2007 +0000
+++ b/src/xmms-sid.h	Fri Feb 23 05:10:05 2007 +0000
@@ -85,6 +85,10 @@
  * but fails on systems with limited stack space. */
 #define XS_BUF_DYNAMIC
 
+/* Configuration section identifier
+ */
+#define XS_CONFIG_IDENT		"XMMS-SID"
+
 /* Default audio rendering frequency in Hz
  */
 #define XS_AUDIO_FREQ		(44100)
@@ -102,16 +106,21 @@
 #define XS_SIDBUF_SIZE		(80*1024)
 
 
-/* libSIDPlay1 default filter values (copied from libsidplay1's headers) */
+/* libSIDPlay1/2 constants (copied from internal headers/source)
+ * For some stupid reason these are not available in public
+ * headers, so we have to duplicate them here...
+ */
 #define XS_SIDPLAY1_FS		(400.0f)
 #define XS_SIDPLAY1_FM		(60.0f)
 #define XS_SIDPLAY1_FT		(0.05f)
 
+#define XS_SIDPLAY2_NFPOINTS	(0x800)
 
-#define XS_CONFIG_IDENT		"XMMS-SID"	/* Configuration file identifier */
 
-#define XS_MIN_OVERSAMPLE	(2)		/* Minimum oversampling factor */
-#define XS_MAX_OVERSAMPLE	(8)		/* Maximum oversampling factor */
+/* Limits for oversampling
+ */
+#define XS_MIN_OVERSAMPLE	(2)
+#define XS_MAX_OVERSAMPLE	(8)
 
 
 /* Macros for mutexes and threads. These exist to be able to