From f7f2e9039cfd6c3d07a28137e321fa96b0267084 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 11 Jan 2020 23:26:03 +0800 Subject: Code refactoring for qmpChannelEditor. Do not crash if preset selection dialog is closed with no preset selected. More translatable strings in qmpChannelEditor. --- core/qmpmidiplay.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/qmpmidiplay.hpp') diff --git a/core/qmpmidiplay.hpp b/core/qmpmidiplay.hpp index c3833a5..2fd81a0 100644 --- a/core/qmpmidiplay.hpp +++ b/core/qmpmidiplay.hpp @@ -146,7 +146,7 @@ class CMidiPlayer void setMute(int ch,bool m); void setSolo(int ch,bool s); bool getChannelMask(int ch); - int getCC(int ch,int id); + uint16_t getCC(int ch,int id); void setCC(int ch,int id,int val); qmpMidiOutFluid* fluid(); -- cgit v1.2.3