From c84461fb8f9404b2b32d90a649b63b669e1a6bb8 Mon Sep 17 00:00:00 2001 From: Stepan Moskovchenko Date: Tue, 3 Oct 2006 21:09:47 +0000 Subject: 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 --- apps/plugins/midi/midiutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/midi/midiutil.c') 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; -- cgit v1.2.3