summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/synth.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/synth.c')
-rw-r--r--apps/plugins/midi/synth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c
index 44d42c0c78..4936afb655 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)
191 191
192#define getSample(s,wf) ((short *)(wf)->data)[s] 192#define getSample(s,wf) ((short *)(wf)->data)[s]
193 193
194void setPoint(struct SynthObject * so, int pt) ICODE_ATTR;
194void setPoint(struct SynthObject * so, int pt) 195void setPoint(struct SynthObject * so, int pt)
195{ 196{
196 if(so->ch==9) /* Drums, no ADSR */ 197 if(so->ch==9) /* Drums, no ADSR */
@@ -247,7 +248,6 @@ void setPoint(struct SynthObject * so, int pt)
247 so->curOffset = 0; 248 so->curOffset = 0;
248} 249}
249 250
250
251inline void stopVoice(struct SynthObject * so) 251inline void stopVoice(struct SynthObject * so)
252{ 252{
253 if(so->state == STATE_RAMPDOWN) 253 if(so->state == STATE_RAMPDOWN)