From 2a6bdc1a9b4d48dea9583e84ce2a91b8397bf099 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 25 Jan 2021 22:26:50 +0800 Subject: Fix yet another function with no return statement. --- 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 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]; -- cgit v1.2.3