Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
1228:ccc6f97a077e | 1229:dff0dfddaf0a |
---|---|
234 } JSSMODEnvelopePoint; | 234 } JSSMODEnvelopePoint; |
235 | 235 |
236 | 236 |
237 typedef struct __attribute__((__packed__)) | 237 typedef struct __attribute__((__packed__)) |
238 { | 238 { |
239 Sint32 | 239 Uint32 |
240 flags, | 240 flags, |
241 npoints, | 241 npoints, |
242 sustain, | 242 sustain, |
243 loopS, | 243 loopS, |
244 loopE; | 244 loopE; |
246 } JSSMODEnvelope; | 246 } JSSMODEnvelope; |
247 | 247 |
248 | 248 |
249 typedef struct __attribute__((__packed__)) | 249 typedef struct __attribute__((__packed__)) |
250 { | 250 { |
251 Uint16 nsamples; | 251 Uint8 nsamples, |
252 Uint8 vibratoType; | 252 vibratoType; |
253 Uint16 vibratoSweep, | 253 Uint16 vibratoSweep, |
254 vibratoDepth, | 254 vibratoDepth, |
255 vibratoRate, | 255 vibratoRate, |
256 fadeOut; | 256 fadeOut; |
257 Uint16 sNumForNotes[jsetNNotes]; | 257 Uint32 sNumForNotes[jsetNNotes]; // 32bit because internally we use global indices |
258 JSSMODEnvelope volumeEnv, panningEnv; | 258 JSSMODEnvelope volumeEnv, panningEnv; |
259 } JSSMODExtInstrument; | 259 } JSSMODExtInstrument; |
260 | 260 |
261 | 261 |
262 typedef struct __attribute__((__packed__)) | 262 typedef struct __attribute__((__packed__)) |