summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/synth.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-10-05 11:15:04 +0000
committerNils Wallménius <nils@rockbox.org>2007-10-05 11:15:04 +0000
commit8219f2801a9484aed0c35143ab9b2d2c8b6dee15 (patch)
treed1ba59ceeffdbaca98e6c0841ecdafc799a400d1 /apps/plugins/midi/synth.c
parentbd4aea376957742158646f219f91c38a55d30d3a (diff)
downloadrockbox-8219f2801a9484aed0c35143ab9b2d2c8b6dee15.zip
rockbox-8219f2801a9484aed0c35143ab9b2d2c8b6dee15.tar.gz
rockbox-8219f2801a9484aed0c35143ab9b2d2c8b6dee15.tar.bz2
rockbox-8219f2801a9484aed0c35143ab9b2d2c8b6dee15.tar.xz
Make synthVoice return int instead of short, gives a nice speed up also add a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14988 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/synth.c')
-rw-r--r--apps/plugins/midi/synth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c
index 322d0f7..327f32e 100644
--- a/apps/plugins/midi/synth.c
+++ b/apps/plugins/midi/synth.c
@@ -255,8 +255,8 @@ inline void stopVoice(struct SynthObject * so)
so->decay = 0;
}
-signed short int synthVoice(struct SynthObject * so) ICODE_ATTR;
-signed short int synthVoice(struct SynthObject * so)
+int synthVoice(struct SynthObject * so) ICODE_ATTR;
+int synthVoice(struct SynthObject * so)
{
struct GWaveform * wf;
register int s;