# HG changeset patch # User Matti Hamalainen # Date 1172207405 0 # Node ID 70fe31fe2bf5f4f263fb1654528101d41dc6687a # Parent 425da926d3105e7d4c86fd1b39250a413133c312 Reordering cleanup and added constant for SIDPlay2 max # of filter coeffs. diff -r 425da926d310 -r 70fe31fe2bf5 src/xmms-sid.h --- 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