summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/sequencer.c')
-rw-r--r--apps/plugins/midi/sequencer.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index 82da3efbcf..1a00c078c6 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -46,15 +46,6 @@ static inline void setVol(int ch, int vol)
46 setVolScale(a); 46 setVolScale(a);
47} 47}
48 48
49static inline void setPan(int ch, int pan)
50{
51// printf("\npanning[%d] %d ==> %d", ch, chPanRight[ch], pan);
52
53 chPanLeft[ch]=128-pan;
54 chPanRight[ch]=pan;
55}
56
57
58static inline void setPatch(int ch, int pat) 49static inline void setPatch(int ch, int pat)
59{ 50{
60 chPat[ch]=pat; 51 chPat[ch]=pat;
@@ -286,7 +277,7 @@ static void sendEvent(struct Event * ev)
286 } 277 }
287 case CTRL_PANNING: 278 case CTRL_PANNING:
288 { 279 {
289 setPan((status_low), d2); 280 chPan[status_low]=d2;
290 return; 281 return;
291 } 282 }
292 } 283 }