diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/midi/synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index bae6149860..7e283d4ef1 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c | |||
@@ -293,7 +293,7 @@ static inline void synthVoice(struct SynthObject * so, int32_t * out, unsigned i | |||
293 | const unsigned int start_loop = wf->startLoop << FRACTSIZE; | 293 | const unsigned int start_loop = wf->startLoop << FRACTSIZE; |
294 | const int diff_loop = end_loop-start_loop; | 294 | const int diff_loop = end_loop-start_loop; |
295 | 295 | ||
296 | while(samples-- > 0) | 296 | while(likely(samples-- > 0)) |
297 | { | 297 | { |
298 | /* Is voice being ramped? */ | 298 | /* Is voice being ramped? */ |
299 | if(unlikely(so->state == STATE_RAMPDOWN)) | 299 | if(unlikely(so->state == STATE_RAMPDOWN)) |