From 8eac5088101595422753030b1b259411d63f83a8 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 27 Apr 2016 23:45:24 +0800 Subject: Handle pitch bend in visualization. Handle mute and solo in the default visualization. Show file name in window title. A little plugin sdk documentaion... Remove stupid things. --- core/qmpmidiplay.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/qmpmidiplay.hpp') diff --git a/core/qmpmidiplay.hpp b/core/qmpmidiplay.hpp index 96dfd12..0587cf2 100644 --- a/core/qmpmidiplay.hpp +++ b/core/qmpmidiplay.hpp @@ -75,6 +75,7 @@ class CMidiPlayer //thread control uint32_t tceptr,tcpaused,tcstop,ct; uint32_t finished,resumed; + uint32_t pbr[16],pbv[16]; qmpMidiMapperRtMidi *mapper; int mappedoutput[16],deviceusage[16],deviceiid[128]; uint8_t chstate[16],chstatus[16][130];//0..127: cc 128: pc @@ -126,6 +127,7 @@ class CMidiPlayer uint32_t getTick(); uint32_t getRawTempo(); uint32_t getDivision(); + double getPitchBend(int ch); const char* getTitle(); const char* getCopyright(); @@ -139,6 +141,7 @@ class CMidiPlayer void getChannelPreset(int ch,int *b,int *p,char *name); void setMute(int ch,bool m); void setSolo(int ch,bool s); + bool getChannelMask(int ch); int getCC(int ch,int id); void setCC(int ch,int id,int val); void getReverbPara(double *r,double *d,double *w,double *l); -- cgit v1.2.3