diff jssmix.h @ 56:8725853609db

Remove the floating point mixing .. it wasn't so good idea after all.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Oct 2012 06:59:00 +0300
parents 36e2f910219c
children 2edda27f951c
line wrap: on
line diff
--- a/jssmix.h	Mon Oct 01 06:28:29 2012 +0300
+++ b/jssmix.h	Mon Oct 01 06:59:00 2012 +0300
@@ -11,18 +11,13 @@
 #define DBG(...) do { /* stub */ } while (0)
 
 
-#ifdef JSS_MIX_FP
-#define JMIXER_ADDBUF_TYPE double
-#else
-#define JMIXER_ADDBUF_TYPE Sint32
-#endif
-
-
 // Mixing limits
 #define JVM_LIMIT_16_POS    (32767)
 #define JVM_LIMIT_16_NEG    (-32767)
 #define JVM_ADD_16          (32768)
 
+#define JMIXER_ADDBUF_TYPE Sint32
+
 
 // A channel data structure
 typedef struct