From 0fd4c2e455957ec078425361972003e8c3c50fe4 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 11 Nov 2007 01:02:45 +0000 Subject: Rearrange logic in the synthVoice loop to do less tests and remove need of a struct member for a small speedup, move some memory lookups out of the loop for a small speedup, further cosmetic changes to the synthVoice function. Change isUsed to a bool for clearer logic and also a tiny speedup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15563 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/midi/midiplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/midi/midiplay.c') diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index cc8746308f..934cea7695 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c @@ -263,7 +263,7 @@ static int midimain(void * filename) { notesUsed = 0; for(a=0; a