diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-09-30 11:21:25 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-09-30 11:21:25 +0000 |
| commit | 6386dbe861bc3395dff1bca5b98e8cbe33ddc703 (patch) | |
| tree | 0ab9bd6c105cac6ec0a77673fb2b60badd756302 /apps/plugins/midi/synth.c | |
| parent | e108964ec08f70a46e1db430288283d68a906c56 (diff) | |
| download | rockbox-6386dbe861bc3395dff1bca5b98e8cbe33ddc703.zip rockbox-6386dbe861bc3395dff1bca5b98e8cbe33ddc703.tar.gz rockbox-6386dbe861bc3395dff1bca5b98e8cbe33ddc703.tar.bz2 rockbox-6386dbe861bc3395dff1bca5b98e8cbe33ddc703.tar.xz | |
static/inline/iram raid gives nice speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14915 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/synth.c')
| -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 44d42c0..4936afb 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c @@ -191,6 +191,7 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig) #define getSample(s,wf) ((short *)(wf)->data)[s] +void setPoint(struct SynthObject * so, int pt) ICODE_ATTR; void setPoint(struct SynthObject * so, int pt) { if(so->ch==9) /* Drums, no ADSR */ @@ -247,7 +248,6 @@ void setPoint(struct SynthObject * so, int pt) so->curOffset = 0; } - inline void stopVoice(struct SynthObject * so) { if(so->state == STATE_RAMPDOWN) |