aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-06-18 00:51:29 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-06-18 00:51:29 +0800
commit19c89fc7baa299e523e152a14066ebc8ce23af21 (patch)
tree893d2643b57cb03092ab520b64dabff753437bbc /include
parent795043d6851a355d70aa2341e2edfd526c24d041 (diff)
downloadQMidiPlayer-19c89fc7baa299e523e152a14066ebc8ce23af21.tar.xz
Device initialization file implementation (part 1).
Added UI for external device configuration. Instrument mapping portion of the device intialization file is now working. Fixed a few spots where return value of getChannelPreset() is ignored. Fixed layout of the preset selection dialog.
Diffstat (limited to 'include')
-rw-r--r--include/qmpcorepublic.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp
index 34e4ea6..178fa19 100644
--- a/include/qmpcorepublic.hpp
+++ b/include/qmpcorepublic.hpp
@@ -95,7 +95,7 @@ class qmpMidiOutDevice
virtual void onMapped(uint8_t ch,int refcnt)=0;
virtual void onUnmapped(uint8_t ch,int refcnt)=0;
virtual std::vector<std::pair<uint16_t,std::string>> getBankList()=0;
- virtual std::vector<std::pair<uint8_t,std::string>> getPresets(int bank)=0;
+ virtual std::vector<std::pair<uint8_t,std::string>> getPresets(uint16_t bank)=0;
virtual std::string getPresetName(uint16_t bank,uint8_t preset)=0;
virtual bool getChannelPreset(int ch,uint16_t *bank,uint8_t *preset,std::string &presetname)=0;
virtual uint8_t getInitialCCValue(uint8_t cc)=0;