summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/sequencer.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-27 20:17:38 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-27 20:17:38 +0000
commit6888db3240af00c6be8188847357b2952a1addda (patch)
tree9f4927f43203a7be301c59b49ca47c1add1baab6 /apps/plugins/midi/sequencer.c
parent93787dd42c57d8af8127b26a9c46f0a4e3e80d0e (diff)
Do not duplicate const table, make getEvent function static inline, gives about a ~1.5% speedup, put tick function in iram, ~3.5% speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14873 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/sequencer.c')
-rw-r--r--apps/plugins/midi/sequencer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index 2819c12a6a..27d960ccdb 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -19,6 +19,7 @@
#include "plugin.h"
#include "midiutil.h"
#include "guspat.h"
+#include "synth.h"
void setVolScale(int a);
@@ -320,6 +321,7 @@ static void sendEvent(struct Event * ev)
}
}
+int tick(void) ICODE_ATTR;
int tick(void)
{
if(mf==NULL)