diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-02-28 20:53:12 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-02-28 20:53:12 +0800 |
commit | 3270ec6072b333c548587621b141ee283beecc29 (patch) | |
tree | cfed0be8beee5cda7c16fc81f5290035ff20ca0d /qmpmidiplay.hpp | |
parent | 60f306607ead64f329a4c1f875af3b7ff5ad1149 (diff) | |
download | QMidiPlayer-3270ec6072b333c548587621b141ee283beecc29.tar.xz |
Pristine Beat.
Diffstat (limited to 'qmpmidiplay.hpp')
-rw-r--r-- | qmpmidiplay.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/qmpmidiplay.hpp b/qmpmidiplay.hpp index 6525c87..fafd677 100644 --- a/qmpmidiplay.hpp +++ b/qmpmidiplay.hpp @@ -54,11 +54,12 @@ class CMidiPlayer private: CMidiFile *midiFile; uint32_t stamps[101]; - uint32_t ccstamps[101][16][134],ccc[16][134]; - //0..127:cc 128:pc 129:cp 130:pb 131:tempo 132:ts 133:ks + uint32_t ccstamps[101][16][135],ccc[16][135]; + //0..127:cc 128:pc 129:cp 130:pb 131:tempo 132:ts 133:ks 134:pbr + int32_t rpnid,rpnval; uint16_t mute,solo; double ftime; - bool sendSysEx,singleInstance; + bool sendSysEx,singleInstance,waitvoice; fluid_settings_t* settings; fluid_synth_t* synth; fluid_audio_driver_t* adriver; @@ -85,7 +86,7 @@ class CMidiPlayer void fluidDeinitialize(); void playerDeinit(); void playerThread(); - void playerPanic(); + void playerPanic(bool reset=false); void rendererLoadFile(const char* ofn); void rendererInit(const char *fn); @@ -100,6 +101,7 @@ class CMidiPlayer void setTCpaused(uint32_t ps); uint32_t isFinished(); void setResumed(); + void setWaitVoice(bool wv); double getFtime(); void getCurrentTimeSignature(int *n,int *d); |