summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/synth.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/synth.h')
-rw-r--r--apps/plugins/midi/synth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/midi/synth.h b/apps/plugins/midi/synth.h
index daaf26d5f6..f85e3d1cef 100644
--- a/apps/plugins/midi/synth.h
+++ b/apps/plugins/midi/synth.h
@@ -48,3 +48,8 @@ static inline void synthSample(int * mixL, int * mixR)
48 return; /* No more ghetto lowpass filter.. linear intrpolation works well. */ 48 return; /* No more ghetto lowpass filter.. linear intrpolation works well. */
49} 49}
50 50
51static inline struct Event * getEvent(struct Track * tr, int evNum)
52{
53 return tr->dataBlock + (evNum*sizeof(struct Event));
54}
55