summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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 50becf32a4..c210f046d3 100644
--- a/apps/plugins/midi/synth.c
+++ b/apps/plugins/midi/synth.c
@@ -270,7 +270,7 @@ inline void stopVoice(struct SynthObject * so)
270} 270}
271 271
272 272
273inline signed short int synthVoice() 273inline signed short int synthVoice(void)
274{ 274{
275 so = &voices[currentVoice]; 275 so = &voices[currentVoice];
276 wf = so->wf; 276 wf = so->wf;
@@ -387,7 +387,7 @@ inline void synthSample(int * mixL, int * mixR)
387 { 387 {
388 if(voices[currentVoice].isUsed==1) 388 if(voices[currentVoice].isUsed==1)
389 { 389 {
390 sample = synthVoice(currentVoice); 390 sample = synthVoice();
391 *mixL += (sample*chPanLeft[voices[currentVoice].ch])>>7; 391 *mixL += (sample*chPanLeft[voices[currentVoice].ch])>>7;
392 *mixR += (sample*chPanRight[voices[currentVoice].ch])>>7; 392 *mixR += (sample*chPanRight[voices[currentVoice].ch])>>7;
393 } 393 }