3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2012 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
92 |
~MidiInputPortMme(); |
~MidiInputPortMme(); |
93 |
void ConnectToMmeMidiSource(const char* MidiSource); |
void ConnectToMmeMidiSource(const char* MidiSource); |
94 |
void CloseMmeMidiPort(void); |
void CloseMmeMidiPort(void); |
95 |
void MmeCallbackDispatcher(HMIDIIN handle, UINT uMsg, DWORD dwParam1, DWORD dwParam2); |
void MmeCallbackDispatcher(HMIDIIN handle, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2); |
96 |
friend class MidiInputDeviceMme; |
friend class MidiInputDeviceMme; |
97 |
private: |
private: |
98 |
MidiInputDeviceMme* pDevice; |
MidiInputDeviceMme* pDevice; |
99 |
static void CALLBACK win32_midiin_callback(HMIDIIN handle, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2); |
static void CALLBACK win32_midiin_callback(HMIDIIN handle, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2); |
100 |
HMIDIIN MidiInHandle; |
HMIDIIN MidiInHandle; |
101 |
MIDIHDR midiHdr; |
MIDIHDR midiHdr; |
102 |
bool MidiInOpened; |
bool MidiInOpened; |