diff options
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.cpp | 5 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.hpp | 1 |
2 files changed, 6 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() diff --git a/qmidiplayer-desktop/qmpplugin.hpp b/qmidiplayer-desktop/qmpplugin.hpp index 08343cd..99dedcd 100644 --- a/qmidiplayer-desktop/qmpplugin.hpp +++ b/qmidiplayer-desktop/qmpplugin.hpp @@ -35,6 +35,7 @@ public: int getChannelPreset(int ch); void playerSeek(uint32_t percentage); double getPitchBend(int ch); + void getPitchBendRaw(int ch,uint32_t *pb,uint32_t *pbr); bool getChannelMask(int ch); std::string getTitle(); std::wstring getWTitle(); |