Skip to content

Commit

Permalink
fea) 배치 렌더링 시 직전 렌더링의 잔향이 앞에 나오는 이슈 해결 (#12)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
PhysSong authored Jan 19, 2022
1 parent 39f6059 commit b2c74fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/vst_base/VstPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit b2c74fb

Please sign in to comment.