Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
43:048536ad01e0 | 44:064d1d1d5b0f |
---|---|
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 #define JSFSET(a, b) do { a |= b; } while (0) | 36 #define JSFSET(a, b) do { a |= b; } while (0) |
35 #define JSFUNSET(a, b) do { a &= (0xff ^ b); } while (0) | 37 #define JSFUNSET(a, b) do { a &= (0xff ^ b); } while (0) |
36 | 38 |
37 // Panning position | 39 // Panning position |
38 #define jchPanLeft (0x00) // Leftmost pan | 40 #define jchPanLeft (0x00) // Leftmost pan |