|
|
| version 1.9, 2003/12/25 19:26:55 | version 1.11, 2005/03/18 09:23:11 |
|---|---|
| Line 6 | Line 6 |
| #define MIDIOUT_VERSTRING "VERMOUTH 1.05" | #define MIDIOUT_VERSTRING "VERMOUTH 1.05" |
| static const char vermouthver[] = MIDIOUT_VERSTRING; | static const OEMCHAR vermouthver[] = OEMTEXT(MIDIOUT_VERSTRING); |
| static const int gaintbl[24+1] = | static const int gaintbl[24+1] = |
| { 16, 19, 22, 26, 32, 38, 45, 53, | { 16, 19, 22, 26, 32, 38, 45, 53, |
| Line 637 static void allresetmidi(MIDIHDL midi) { | Line 637 static void allresetmidi(MIDIHDL midi) { |
| // ---- | // ---- |
| UINT midiout_getver(char *string, int leng) { | UINT midiout_getver(OEMCHAR *string, int leng) { |
| milstr_ncpy(string, vermouthver, leng); | milstr_ncpy(string, vermouthver, leng); |
| return((MIDIOUT_VERSION << 8) | 0x00); | return((MIDIOUT_VERSION << 8) | 0x00); |
| Line 732 void midiout_shortmsg(MIDIHDL hdl, UINT3 | Line 732 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)) { | if ((size > 5) && (msg[2] == 0x7f) && (msg[3] == 0x09)) { |
| allresetmidi(hdl); // GM reset | 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 addr; |
| UINT part; | UINT part; |
| Line 780 static void longmsg_roland(MIDIHDL hdl, | Line 780 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; | UINT id; |