From a42be43a3aa5e1494267f3ae93d70a37afe48673 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 7 Nov 2021 16:57:57 -0500 Subject: Stop using MIDI messages for selecting presets used by fluidsynth. --- include/qmpcorepublic.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp index 3c72ad9..9e3e9e7 100644 --- a/include/qmpcorepublic.hpp +++ b/include/qmpcorepublic.hpp @@ -128,6 +128,7 @@ public: virtual void reset(uint8_t ch) = 0; virtual void onMapped(uint8_t ch, int refcnt) = 0; virtual void onUnmapped(uint8_t ch, int refcnt) = 0; + virtual bool selectPreset(uint8_t ch, uint16_t bank, uint8_t prog) = 0; virtual std::vector> getBankList() = 0; virtual std::vector> getPresets(uint16_t bank) = 0; virtual std::string getPresetName(uint16_t bank, uint8_t preset) = 0; -- cgit v1.2.3