diff jss.h @ 44:064d1d1d5b0f

Add new functions, jssConvertSampleFromFP() and jssConvertSampleToFP().
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 30 Sep 2012 23:23:08 +0300
parents 32250b436bca
children 8725853609db
line wrap: on
line diff
--- a/jss.h	Sun Sep 30 23:20:22 2012 +0300
+++ b/jss.h	Sun Sep 30 23:23:08 2012 +0300
@@ -31,6 +31,8 @@
 #define jsfLooped       (0x01)      // Is sample looped
 #define jsfBiDi         (0x02)      // Bi-directional loop?
 #define jsf16bit        (0x04)      // 16-bit?
+#define jsfFP           (0x08)      // Floating point sample
+
 #define JSFSET(a, b)    do { a |= b; } while (0)
 #define JSFUNSET(a, b)  do { a &= (0xff ^ b); } while (0)