diff options
Diffstat (limited to 'apps/plugins/midi/sequencer.c')
-rw-r--r-- | apps/plugins/midi/sequencer.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c index a44bacfce8..82da3efbcf 100644 --- a/apps/plugins/midi/sequencer.c +++ b/apps/plugins/midi/sequencer.c | |||
@@ -157,7 +157,7 @@ static inline void setPW(int ch, int msb, int lsb) | |||
157 | } | 157 | } |
158 | } | 158 | } |
159 | 159 | ||
160 | static void pressNote(int ch, int note, int vol) | 160 | inline void pressNote(int ch, int note, int vol) |
161 | { | 161 | { |
162 | static int lastKill = 0; | 162 | static int lastKill = 0; |
163 | /* Silences all channels but one, for easy debugging, for me. */ | 163 | /* Silences all channels but one, for easy debugging, for me. */ |
@@ -379,12 +379,3 @@ int tick(void) | |||
379 | return 0; | 379 | return 0; |
380 | } | 380 | } |
381 | 381 | ||
382 | |||
383 | /* Ugly hack so that beatbox can get at teh pressnote function */ | ||
384 | /* Is there a speed advantage to keeping pressNote itself static? */ | ||
385 | /* Note that midiplay needs the speed much more than beatbox does */ | ||
386 | void pressNote_Nonstatic(int ch, int note, int vol) | ||
387 | { | ||
388 | pressNote(ch, note, vol); | ||
389 | } | ||
390 | |||