Mercurial > hg > dmlib
comparison jss.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 | 064d1d1d5b0f |
children | 3bdc776a4b33 |
comparison
equal
deleted
inserted
replaced
55:e0e470c3fc8e | 56:8725853609db |
---|---|
29 | 29 |
30 // Sample instrument flags | 30 // Sample instrument flags |
31 #define jsfLooped (0x01) // Is sample looped | 31 #define jsfLooped (0x01) // Is sample looped |
32 #define jsfBiDi (0x02) // Bi-directional loop? | 32 #define jsfBiDi (0x02) // Bi-directional loop? |
33 #define jsf16bit (0x04) // 16-bit? | 33 #define jsf16bit (0x04) // 16-bit? |
34 #define jsfFP (0x08) // Floating point sample | |
35 | 34 |
36 #define JSFSET(a, b) do { a |= b; } while (0) | 35 #define JSFSET(a, b) do { a |= b; } while (0) |
37 #define JSFUNSET(a, b) do { a &= (0xff ^ b); } while (0) | 36 #define JSFUNSET(a, b) do { a &= (0xff ^ b); } while (0) |
38 | 37 |
39 // Panning position | 38 // Panning position |