summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midi/midiutil.c
diff options
context:
space:
mode:
authorStepan Moskovchenko <stevenm@rockbox.org>2006-10-03 21:09:47 +0000
committerStepan Moskovchenko <stevenm@rockbox.org>2006-10-03 21:09:47 +0000
commitc84461fb8f9404b2b32d90a649b63b669e1a6bb8 (patch)
tree4b9e5b78b1abb5bfc6eccb61a86236427cb32bf4 /apps/plugins/midi/midiutil.c
parentf5a356989980aeabdfb6446d65d54cf8ec7928ab (diff)
downloadrockbox-c84461fb8f9404b2b32d90a649b63b669e1a6bb8.tar.gz
rockbox-c84461fb8f9404b2b32d90a649b63b669e1a6bb8.tar.bz2
rockbox-c84461fb8f9404b2b32d90a649b63b669e1a6bb8.zip
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
Diffstat (limited to 'apps/plugins/midi/midiutil.c')
-rw-r--r--apps/plugins/midi/midiutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index 4562089578..aa3a0cca28 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -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;