From b2c74fb72bcb3198f0f85c60da289d63369268a4 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Wed, 19 Jan 2022 11:45:21 +0900 Subject: [PATCH] =?UTF-8?q?fea)=20=20=EB=B0=B0=EC=B9=98=20=EB=A0=8C?= =?UTF-8?q?=EB=8D=94=EB=A7=81=20=EC=8B=9C=20=EC=A7=81=EC=A0=84=20=EB=A0=8C?= =?UTF-8?q?=EB=8D=94=EB=A7=81=EC=9D=98=20=EC=9E=94=ED=96=A5=EC=9D=B4=20?= =?UTF-8?q?=EC=95=9E=EC=97=90=20=EB=82=98=EC=98=A4=EB=8A=94=20=EC=9D=B4?= =?UTF-8?q?=EC=8A=88=20=ED=95=B4=EA=B2=B0=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix reverb tail from previous render appear at the beginning Makes connnection to updateSampleRate use Qt::DirectConnection. This will ensure plugin reset occurs before rendering starts. --- plugins/vst_base/VstPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vst_base/VstPlugin.cpp b/plugins/vst_base/VstPlugin.cpp index 4c4383ed517..539ceb08ffd 100644 --- a/plugins/vst_base/VstPlugin.cpp +++ b/plugins/vst_base/VstPlugin.cpp @@ -160,7 +160,7 @@ VstPlugin::VstPlugin( const QString & _plugin ) : connect( Engine::getSong(), SIGNAL( tempoChanged( bpm_t ) ), this, SLOT( setTempo( bpm_t ) ), Qt::DirectConnection ); connect( Engine::mixer(), SIGNAL( sampleRateChanged() ), - this, SLOT( updateSampleRate() ) ); + this, SLOT( updateSampleRate() ), Qt::DirectConnection ); // update once per second m_idleTimer.start( 1000 );