diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpplugin.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp index 4785b16..9cd1f35 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -167,6 +167,11 @@ void qmpPluginAPIImpl::playerSeek(uint32_t percentage) {if(qmw)qmw->playerSeek(percentage);} double qmpPluginAPIImpl::getPitchBend(int ch) {return qmw&&qmw->getPlayer()?qmw->getPlayer()->getPitchBend(ch):0;} +void qmpPluginAPIImpl::getPitchBendRaw(int ch,uint32_t *pb,uint32_t *pbr) +{ + if(qmw&&qmw->getPlayer()) + qmw->getPlayer()->getPitchBendRaw(ch,pb,pbr); +} bool qmpPluginAPIImpl::getChannelMask(int ch) {return qmw&&qmw->getPlayer()?qmw->getPlayer()->getChannelMask(ch):false;} std::string qmpPluginAPIImpl::getTitle() |