diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 23:56:09 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 23:56:09 +0800 |
commit | acf466561f17bf0eb6c19ea0467b27f5392aeb36 (patch) | |
tree | e2a2eb7c87e99a47d2536c10abcee6e3b50cdded /qmidiplayer-desktop | |
parent | 70f0007154992c0bc89e11af4fe7dcc2c493aac3 (diff) | |
download | QMidiPlayer-acf466561f17bf0eb6c19ea0467b27f5392aeb36.tar.xz |
Road to standardize: use two parameters for pitchbend.
Documentation.
Minor bug fix.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.cpp | 4 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 56d3824..491c39d 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -259,9 +259,7 @@ void qmpMainWindow::updateWidgets() ui->lbCurTime->setText("00:00"); } else - { - - } + switchTrack(plistw->getNextItem()); } if(renderTh) { diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp index 7370e20..5b4dd11 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -146,7 +146,7 @@ int qmpPluginAPI::getChannelCC(int ch,int cc) {return qmw&&qmw->getPlayer()?qmw->getPlayer()->getCC(ch,cc):0;} int qmpPluginAPI::getChannelPreset(int ch) { - int b,p;char nm[25],ret[33];ret[0]=0; + int b,p;char nm[25]; if(qmw&&qmw->getPlayer()) { qmw->getPlayer()->getChannelPreset(ch,&b,&p,nm); |