summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/midi/synth.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c
index 1b7145a..d844cc0 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 */