--- np2/sound/vermouth/midiout.c 2003/12/25 05:07:49 1.7 +++ np2/sound/vermouth/midiout.c 2005/02/07 14:46:13 1.10 @@ -2,8 +2,8 @@ #include "midiout.h" -#define MIDIOUT_VERSION 0x104 -#define MIDIOUT_VERSTRING "VERMOUTH 1.04" +#define MIDIOUT_VERSION 0x105 +#define MIDIOUT_VERSTRING "VERMOUTH 1.05" static const char vermouthver[] = MIDIOUT_VERSTRING; @@ -453,7 +453,6 @@ static void ctrlchange(MIDIHDL midi, CHA case CTRL_EXPRESS: ch->expression = val; - TRACEOUT(("exp = %d", val)); volumeupdate(midi, ch); break; @@ -733,14 +732,14 @@ void midiout_shortmsg(MIDIHDL hdl, UINT3 } } -static void longmsg_gm(MIDIHDL hdl, const BYTE *msg, UINT size) { +static void longmsg_gm(MIDIHDL hdl, const UINT8 *msg, UINT size) { if ((size > 5) && (msg[2] == 0x7f) && (msg[3] == 0x09)) { allresetmidi(hdl); // GM reset } } -static void longmsg_roland(MIDIHDL hdl, const BYTE *msg, UINT size) { +static void longmsg_roland(MIDIHDL hdl, const UINT8 *msg, UINT size) { UINT addr; UINT part; @@ -781,7 +780,7 @@ static void longmsg_roland(MIDIHDL hdl, } } -void midiout_longmsg(MIDIHDL hdl, const BYTE *msg, UINT size) { +void midiout_longmsg(MIDIHDL hdl, const UINT8 *msg, UINT size) { UINT id;