Mercurial > hg > dmlib
diff minijss/jssmod.h @ 1229:dff0dfddaf0a
Change some JSSMOD struct member types.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Mar 2015 11:00:08 +0200 |
parents | e667710aee8e |
children | 9a07415e395e |
line wrap: on
line diff
--- a/minijss/jssmod.h Fri Mar 06 10:26:31 2015 +0200 +++ b/minijss/jssmod.h Fri Mar 06 11:00:08 2015 +0200 @@ -236,7 +236,7 @@ typedef struct __attribute__((__packed__)) { - Sint32 + Uint32 flags, npoints, sustain, @@ -248,13 +248,13 @@ typedef struct __attribute__((__packed__)) { - Uint16 nsamples; - Uint8 vibratoType; + Uint8 nsamples, + vibratoType; Uint16 vibratoSweep, vibratoDepth, vibratoRate, fadeOut; - Uint16 sNumForNotes[jsetNNotes]; + Uint32 sNumForNotes[jsetNNotes]; // 32bit because internally we use global indices JSSMODEnvelope volumeEnv, panningEnv; } JSSMODExtInstrument;