diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
commit | 84634010422f578b27105bbbaf6b8ee4c1232e86 (patch) | |
tree | 022775f88c94d697bdce0b32ae32698c542b50ca /qmpmidiplay.hpp | |
parent | b886aa1fcafc16fe93bfe19e2f63b4089234f9f6 (diff) | |
download | QMidiPlayer-84634010422f578b27105bbbaf6b8ee4c1232e86.tar.xz |
Bad Apple. (WTF)
Diffstat (limited to 'qmpmidiplay.hpp')
-rw-r--r-- | qmpmidiplay.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qmpmidiplay.hpp b/qmpmidiplay.hpp index 7937c21..514a825 100644 --- a/qmpmidiplay.hpp +++ b/qmpmidiplay.hpp @@ -56,9 +56,11 @@ class CMidiPlayer uint32_t ccstamps[101][16][132],ccc[16][132];//0..127:cc 128:pc 129:cp 130:pb 131:tempo uint16_t mute,solo; double ftime; + bool sendSysEx; fluid_settings_t* settings; fluid_synth_t* synth; fluid_audio_driver_t* adriver; + fluid_player_t* player; uint32_t ctempo,ctsn,ctsd,dpt,divs,cks; //raw tempo, timesig num., timesig den., delay per tick, division, keysig //thread control @@ -82,6 +84,11 @@ class CMidiPlayer void playerThread(); void playerPanic(); + void rendererLoadFile(const char* ofn); + void rendererInit(const char *fn); + void rendererThread(); + void rendererDeinit(); + //playing control methods uint32_t getStamp(int id); uint32_t getTCeptr(); @@ -101,6 +108,7 @@ class CMidiPlayer const char* getCopyright(); void setGain(double gain); + void sendSysX(bool send); int getPolyphone(); int getMaxPolyphone(); void setMaxPolyphone(int p); |