diff options
Diffstat (limited to 'apps/plugins/midi/synth.h')
-rw-r--r-- | apps/plugins/midi/synth.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/midi/synth.h b/apps/plugins/midi/synth.h index 2b7187e819..dd52c40a7d 100644 --- a/apps/plugins/midi/synth.h +++ b/apps/plugins/midi/synth.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig); | 19 | int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig); |
20 | signed short int synthVoice(struct SynthObject * so); | 20 | int synthVoice(struct SynthObject * so); |
21 | void setPoint(struct SynthObject * so, int pt); | 21 | void setPoint(struct SynthObject * so, int pt); |
22 | 22 | ||
23 | static inline void synthSample(int * mixL, int * mixR) | 23 | static inline void synthSample(int * mixL, int * mixR) |
@@ -48,6 +48,8 @@ static inline void synthSample(int * mixL, int * mixR) | |||
48 | voicept++; | 48 | voicept++; |
49 | } | 49 | } |
50 | 50 | ||
51 | /* if max voices is an even number gcc is smart enough to not | ||
52 | include this loop */ | ||
51 | for(i=MAX_VOICES%2; i > 0; i--) | 53 | for(i=MAX_VOICES%2; i > 0; i--) |
52 | { | 54 | { |
53 | if(voicept->isUsed==1) | 55 | if(voicept->isUsed==1) |