wok-next annotate timidity++/stuff/patches/mfi.c.patch @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents TiMidity++/stuff/patches/mfi.c.patch@31a5f8af77a8
children
rev   line source
al@20467 1 --- timidity/mfi.c 2004-02-17 17:02:18.000000000 +0100
al@20467 2 +++ timidity/mfi.c.new 2017-02-14 04:41:24.000000000 +0100
al@20467 3 @@ -344,7 +344,7 @@
al@20467 4 #define SEND_LASTNOTEINFO(lni, ch) if (LASTNOTEINFO_HAS_DATA((lni)[ch])) SendLastNoteInfo(lni, ch);
al@20467 5 #define SEND_AND_CLEAR_LASTNOTEINFO(lni, ch) if (LASTNOTEINFO_HAS_DATA((lni)[ch])) { SendLastNoteInfo(lni, ch); (lni)[ch].on = NO_LAST_NOTE_INFO; }
al@20467 6
al@20467 7 -inline void StoreLastNoteInfo(LastNoteInfo *info, int channel, int time, int duration, int note, int velocity)
al@20467 8 +static inline void StoreLastNoteInfo(LastNoteInfo *info, int channel, int time, int duration, int note, int velocity)
al@20467 9 {
al@20467 10 info[channel].on = time;
al@20467 11 info[channel].off = time + duration;
al@20467 12 @@ -352,7 +352,7 @@
al@20467 13 info[channel].velocity = velocity;
al@20467 14 }
al@20467 15
al@20467 16 -inline void SendLastNoteInfo(const LastNoteInfo *info, int channel)
al@20467 17 +static inline void SendLastNoteInfo(const LastNoteInfo *info, int channel)
al@20467 18 {
al@20467 19 NOTE_BUF_EV_DEBUGSTR(channel, info[channel].on, note_name[info[channel].note % 12], info[channel].note / 12, info[channel].velocity, info[channel].off);
al@20467 20 MIDIEVENT(info[channel].on, ME_NOTEON, channel, info[channel].note, info[channel].velocity);