29 |
|
|
30 |
namespace LinuxSampler { |
namespace LinuxSampler { |
31 |
|
|
32 |
void CALLBACK MidiInputDeviceMme::MidiInputPortMme::win32_midiin_callback(HMIDIIN handle, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2) { |
void CALLBACK MidiInputDeviceMme::MidiInputPortMme::win32_midiin_callback(HMIDIIN handle, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2) { |
33 |
MidiInputDeviceMme::MidiInputPortMme* p = (MidiInputDeviceMme::MidiInputPortMme*)dwInstance; |
MidiInputDeviceMme::MidiInputPortMme* p = (MidiInputDeviceMme::MidiInputPortMme*)dwInstance; |
34 |
p->MmeCallbackDispatcher(handle, uMsg, dwParam1, dwParam2); |
p->MmeCallbackDispatcher(handle, uMsg, dwParam1, dwParam2); |
35 |
} |
} |
238 |
|
|
239 |
} |
} |
240 |
|
|
241 |
void MidiInputDeviceMme::MidiInputPortMme::MmeCallbackDispatcher(HMIDIIN handle, UINT uMsg, DWORD dwParam1, DWORD dwParam2) { |
void MidiInputDeviceMme::MidiInputPortMme::MmeCallbackDispatcher(HMIDIIN handle, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2) { |
242 |
|
|
243 |
unsigned char *DataPtr; // pointer to SysEx data |
unsigned char *DataPtr; // pointer to SysEx data |
244 |
unsigned char *data; // pointer to standard MIDI messages which are not sysex data(max 3 bytes long) |
unsigned char *data; // pointer to standard MIDI messages which are not sysex data(max 3 bytes long) |