From 62393aa7b9069274459d00024fc2b238b0044eb6 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 26 Nov 2019 15:47:38 +0800 Subject: 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. --- core/qmpmidiplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/qmpmidiplay.cpp') diff --git a/core/qmpmidiplay.cpp b/core/qmpmidiplay.cpp index 89fdf84..c24b0c9 100644 --- a/core/qmpmidiplay.cpp +++ b/core/qmpmidiplay.cpp @@ -453,7 +453,7 @@ bool CMidiPlayer::getChannelMask(int ch) int CMidiPlayer::getCC(int ch,int id) { if(chstatus[ch][id]==0xff) - return getChannelOutputDevice(ch)->getInitialCCValue(id); + return getChannelOutputDevice(ch)->getInitialCCValue(uint8_t(id),uint8_t(ch)); return chstatus[ch][id]; } void CMidiPlayer::setCC(int ch,int id,int val) -- cgit v1.2.3