diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-06-21 13:03:30 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-06-21 13:03:30 +0800 |
commit | 0c3fe540e925829022d9d8aa567c2dc2bd3d33d5 (patch) | |
tree | ab9ecae4def5a329b5e796839ece97f4b9c0297f /core/qmpmidimappers.hpp | |
parent | 64c91c7da66ba71e2bb32077680f234aba4ac65d (diff) | |
download | QMidiPlayer-0c3fe540e925829022d9d8aa567c2dc2bd3d33d5.tar.xz |
Complete rewrite of the MIDI mapper.
Enforces single fluidsynth instance.
Documentation update.
Minor changes to make lite version work.
Diffstat (limited to 'core/qmpmidimappers.hpp')
-rw-r--r-- | core/qmpmidimappers.hpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/qmpmidimappers.hpp b/core/qmpmidimappers.hpp deleted file mode 100644 index 7b9ff0e..0000000 --- a/core/qmpmidimappers.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef QMPMIDIMAPPERS_H -#define QMPMIDIMAPPERS_H -#include RT_MIDI_H -class qmpMidiMapperRtMidi -{ -private: - RtMidiOut *ports[16]; - static RtMidiOut *dummy; -public: - qmpMidiMapperRtMidi(); - ~qmpMidiMapperRtMidi(); - int deviceInit(int id); - void deviceDeinit(int iid); - void noteOn(int iid,int ch,int key,int vel); - void noteOff(int iid,int ch,int key); - void ctrlChange(int iid,int ch,int cc,int val); - void progChange(int iid,int ch,int val); - void pitchBend(int iid,int ch,int val); - void sysEx(int iid,int length,const char* data); - void panic(int iid,int ch); - void reset(int iid,int ch); - int enumDevices(); - std::string deviceName(int id); -}; -#endif // QMPMIDIMAPPERS_H |