aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidiplay.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-26 15:47:38 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-26 15:47:38 +0800
commit62393aa7b9069274459d00024fc2b238b0044eb6 (patch)
tree00ed1ee70e3103e6fcb3375734bc93097691d54d /core/qmpmidiplay.cpp
parent9c2eb04f6baadf33f60bf4af35caec77aebf48ff (diff)
downloadQMidiPlayer-62393aa7b9069274459d00024fc2b238b0044eb6.tar.xz
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.
Diffstat (limited to 'core/qmpmidiplay.cpp')
-rw-r--r--core/qmpmidiplay.cpp2
1 files changed, 1 insertions, 1 deletions
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)