diff options
Diffstat (limited to 'apps/plugins')
-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) | |||
277 | if(so->decay < 10 && so->decay > -10) | 277 | if(so->decay < 10 && so->decay > -10) |
278 | so->isUsed = 0; | 278 | so->isUsed = 0; |
279 | 279 | ||
280 | if(so->state == STATE_RAMPDOWN) | ||
281 | { | ||
282 | so->decay-=5; | ||
283 | if(so->decay < 5) | ||
284 | so->isUsed=0; | ||
285 | s = (s * so->decay) >> 8; | ||
286 | } | ||
287 | |||
288 | |||
289 | return so->decay*so->volscale>>14; | 280 | return so->decay*so->volscale>>14; |
290 | } | 281 | } |
291 | } else /* OK to advance voice */ | 282 | } else /* OK to advance voice */ |