More adsr related nonsense, argh! Fix adsr related problem on some notes being stopped instead of

looped. Ramping code still not quite right, but dont want to lose this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11117 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Stepan Moskovchenko 2006-10-03 21:09:47 +00:00
parent f5a3569899
commit c84461fb8f
3 changed files with 40 additions and 18 deletions

View file

@ -124,7 +124,7 @@ struct SynthObject
struct GWaveform * wf;
int delta;
int decay;
unsigned int cp;
unsigned int cp; /* unsigned int */
int state, loopState, loopDir;
int note, vol, ch, isUsed;
int curRate, curOffset, targetOffset;