diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-30 23:54:52 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-30 23:54:52 +0800 |
commit | 24481b4334db3c45041db53503a7b6832deb704f (patch) | |
tree | 8b8e6b43e76628760de208127ff074eb147cb8c4 /qmpmidiplay.hpp | |
parent | 1785e14480ab00afc4309bfcfbd5b00caea8ddde (diff) | |
download | QMidiPlayer-24481b4334db3c45041db53503a7b6832deb704f.tar.xz |
Necro-Fantasy. (WTF)
Diffstat (limited to 'qmpmidiplay.hpp')
-rw-r--r-- | qmpmidiplay.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qmpmidiplay.hpp b/qmpmidiplay.hpp index 188a796..6525c87 100644 --- a/qmpmidiplay.hpp +++ b/qmpmidiplay.hpp @@ -58,7 +58,7 @@ class CMidiPlayer //0..127:cc 128:pc 129:cp 130:pb 131:tempo 132:ts 133:ks uint16_t mute,solo; double ftime; - bool sendSysEx; + bool sendSysEx,singleInstance; fluid_settings_t* settings; fluid_synth_t* synth; fluid_audio_driver_t* adriver; @@ -70,18 +70,19 @@ class CMidiPlayer uint32_t finished,resumed; void setBit(uint16_t &n,uint16_t bn,uint16_t b); - void fluidDeinitialize(); void processEvent(const SEvent *e); void processEventStub(const SEvent *e); void playEvents(); void fileTimer1Pass(); void fileTimer2Pass(); public: - CMidiPlayer(); + CMidiPlayer(bool singleInst=false); ~CMidiPlayer(); bool playerLoadFile(const char* fn); void playerInit(); + void fluidPreInitialize(); void fluidInitialize(); + void fluidDeinitialize(); void playerDeinit(); void playerThread(); void playerPanic(); |