diff options
author | Chris Xiong <chirs241097@gmail.com> | 2021-11-07 16:57:57 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2021-11-07 16:57:57 -0500 |
commit | a42be43a3aa5e1494267f3ae93d70a37afe48673 (patch) | |
tree | 73f37a5d4a1029eabcbbf0b8637bda91b1d08e1b /core/qmpmidioutfluid.hpp | |
parent | 9bb221706e9a45343eeb69401b9f50605aab5c1a (diff) | |
download | QMidiPlayer-a42be43a3aa5e1494267f3ae93d70a37afe48673.tar.xz |
Stop using MIDI messages for selecting presets used by fluidsynth.
Diffstat (limited to 'core/qmpmidioutfluid.hpp')
-rw-r--r-- | core/qmpmidioutfluid.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qmpmidioutfluid.hpp b/core/qmpmidioutfluid.hpp index f194c17..8cf6686 100644 --- a/core/qmpmidioutfluid.hpp +++ b/core/qmpmidioutfluid.hpp @@ -46,6 +46,7 @@ public: void reset(uint8_t ch); void onMapped(uint8_t ch, int refcnt); void onUnmapped(uint8_t ch, int refcnt); + bool selectPreset(uint8_t ch, uint16_t bank, uint8_t prog); std::vector<std::pair<uint16_t, std::string>> getBankList(); std::vector<std::pair<uint8_t, std::string>> getPresets(uint16_t bank); std::string getPresetName(uint16_t bank, uint8_t preset); |