aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidiplay.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-01-25 22:26:50 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-01-25 22:26:50 +0800
commit2a6bdc1a9b4d48dea9583e84ce2a91b8397bf099 (patch)
treecd4b842023df2f477b2c4d3c5a665fe407857635 /core/qmpmidiplay.cpp
parentf4f0d6195457c3c8c55a41a4dd4869d6653957c3 (diff)
downloadQMidiPlayer-2a6bdc1a9b4d48dea9583e84ce2a91b8397bf099.tar.xz
Fix yet another function with no return statement.
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 e8e83a2..2693307 100644
--- a/core/qmpmidiplay.cpp
+++ b/core/qmpmidiplay.cpp
@@ -556,7 +556,7 @@ double CMidiPlayer::getPitchBend(int ch)
{
return ((int)pbv[ch] - 8192) / 8192.*pbr[ch];
}
-double CMidiPlayer::getPitchBendRaw(int ch, uint32_t *pb, uint32_t *pbr)
+void CMidiPlayer::getPitchBendRaw(int ch, uint32_t *pb, uint32_t *pbr)
{
if (pb)
*pb = this->pbv[ch];