aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/qmpmidiplay.cpp2
-rw-r--r--core/qmpmidiplay.hpp2
2 files changed, 2 insertions, 2 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];
diff --git a/core/qmpmidiplay.hpp b/core/qmpmidiplay.hpp
index ddbb63b..56a26fd 100644
--- a/core/qmpmidiplay.hpp
+++ b/core/qmpmidiplay.hpp
@@ -141,7 +141,7 @@ public:
uint32_t getDivision();
uint32_t getMaxTick();
double getPitchBend(int ch);
- double getPitchBendRaw(int ch, uint32_t *pb, uint32_t *pbr);
+ void getPitchBendRaw(int ch, uint32_t *pb, uint32_t *pbr);
const char *getTitle();
const char *getCopyright();