From 6888db3240af00c6be8188847357b2952a1addda Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Thu, 27 Sep 2007 20:17:38 +0000 Subject: 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 --- apps/plugins/midi/synth.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/plugins/midi/synth.c') diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index bcfd79499b..d053ebf535 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; -- cgit v1.2.3