diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-09-27 20:17:38 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-09-27 20:17:38 +0000 |
| commit | 6888db3240af00c6be8188847357b2952a1addda (patch) | |
| tree | 9f4927f43203a7be301c59b49ca47c1add1baab6 /apps/plugins/midi/synth.c | |
| parent | 93787dd42c57d8af8127b26a9c46f0a4e3e80d0e (diff) | |
| download | rockbox-6888db3240af00c6be8188847357b2952a1addda.zip rockbox-6888db3240af00c6be8188847357b2952a1addda.tar.gz rockbox-6888db3240af00c6be8188847357b2952a1addda.tar.bz2 rockbox-6888db3240af00c6be8188847357b2952a1addda.tar.xz | |
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/synth.c')
| -rw-r--r-- | apps/plugins/midi/synth.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index bcfd794..d053ebf 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c @@ -23,11 +23,6 @@ extern struct plugin_api * rb; -struct Event * getEvent(struct Track * tr, int evNum) -{ - return tr->dataBlock + (evNum*sizeof(struct Event)); -} - void readTextBlock(int file, char * buf) { char c = 0; |