diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-11-26 15:47:38 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-11-26 15:47:38 +0800 |
commit | 62393aa7b9069274459d00024fc2b238b0044eb6 (patch) | |
tree | 00ed1ee70e3103e6fcb3375734bc93097691d54d /core/qmpmidioutrtmidi.hpp | |
parent | 9c2eb04f6baadf33f60bf4af35caec77aebf48ff (diff) | |
download | QMidiPlayer-62393aa7b9069274459d00024fc2b238b0044eb6.tar.xz |
We're now in bug squashing mode!
You can now specify control initial values for each individual channels.
Added build instructions for the folks out there rocking a more superior
operating system.
Diffstat (limited to 'core/qmpmidioutrtmidi.hpp')
-rw-r--r-- | core/qmpmidioutrtmidi.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/qmpmidioutrtmidi.hpp b/core/qmpmidioutrtmidi.hpp index 2c9195c..45662ba 100644 --- a/core/qmpmidioutrtmidi.hpp +++ b/core/qmpmidioutrtmidi.hpp @@ -14,6 +14,7 @@ struct qmpDeviceInitializer }; std::unordered_map<uint16_t,BankStore> banks; uint8_t initv[130]; + uint8_t sinitv[16][130]; static qmpDeviceInitializer* parse(const char* path); }; @@ -42,7 +43,7 @@ public: std::vector<std::pair<uint8_t,std::string>> getPresets(uint16_t bank); std::string getPresetName(uint16_t bank,uint8_t preset); bool getChannelPreset(int ch,uint16_t *bank,uint8_t *preset,std::string &presetname); - uint8_t getInitialCCValue(uint8_t cc); + uint8_t getInitialCCValue(uint8_t cc,uint8_t ch); void setInitializerFile(const char* path); }; |