diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-04-29 11:25:58 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-04-29 11:25:58 +0800 |
commit | 65a8bde4e4beca860a13491e94631dc16b5e71af (patch) | |
tree | d92df4a6538af18c4231dca015a6f504d8c65cd2 /qmidiplayer-desktop/qmpefxwindow.cpp | |
parent | 73020aae5bf0b7dd49c78880e2768deb19181b81 (diff) | |
download | QMidiPlayer-65a8bde4e4beca860a13491e94631dc16b5e71af.tar.xz |
Decouple CMidiPlayer and qmpMidiOutFluid.
Visualization renderer should no longer depend on the fluidsynth library.
Reworked the "wait voice" option: now it only takes effect if an
automatic track switch happens.
Actually process events while waiting for async operation to finish.
Diffstat (limited to 'qmidiplayer-desktop/qmpefxwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpefxwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpefxwindow.cpp b/qmidiplayer-desktop/qmpefxwindow.cpp index f8731ba..7691756 100644 --- a/qmidiplayer-desktop/qmpefxwindow.cpp +++ b/qmidiplayer-desktop/qmpefxwindow.cpp @@ -103,7 +103,7 @@ void qmpEfxWindow::sendEfxChange(void *_fs) cfb=ui->sbFeedBack->value();cl=ui->sbLevelC->value()/100.; cr=ui->sbRate->value();cd=ui->sbDepth->value(); IFluidSettings* fs=(IFluidSettings*)_fs; - if(!_fs)fs=qmpMainWindow::getInstance()->getPlayer()->fluid(); + if(!_fs)fs=qmpMainWindow::getInstance()->getFluid(); fs->setReverbPara(ui->cbEnabledR->isChecked()?1:0,rr,rd,rw,rl); fs->setChorusPara(ui->cbEnabledC->isChecked()?1:0,cfb,cl,cr,cd,ct); |