diff options
author | Stepan Moskovchenko <stevenm@rockbox.org> | 2006-10-02 04:30:19 +0000 |
---|---|---|
committer | Stepan Moskovchenko <stevenm@rockbox.org> | 2006-10-02 04:30:19 +0000 |
commit | ba0d55510f98282b60ac42b7ee97b25cf9ed3522 (patch) | |
tree | 122d6179e7e54c22afd96d84eb28f5e604eb3901 /apps | |
parent | 80b488292202479f31f7914c48ffb96be02da8a0 (diff) |
Get rid of old junk and fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11106 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/midi/synth.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index 1b7145a372..d844cc05ad 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c @@ -277,15 +277,6 @@ signed short int synthVoice(struct SynthObject * so) if(so->decay < 10 && so->decay > -10) so->isUsed = 0; - if(so->state == STATE_RAMPDOWN) - { - so->decay-=5; - if(so->decay < 5) - so->isUsed=0; - s = (s * so->decay) >> 8; - } - - return so->decay*so->volscale>>14; } } else /* OK to advance voice */ |