Skip to content

Commit

Permalink
Set buffer size during plugin init
Browse files Browse the repository at this point in the history
Fixes AmpliTube crash
  • Loading branch information
DomClark authored and PhysSong committed Jan 17, 2018
1 parent 6e0dda6 commit 709fc79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/vst_base/RemoteVstPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ void RemoteVstPlugin::init( const std::string & _plugin_file )
}

updateInOutCount();
updateBufferSize();

// some plugins have to set samplerate during init
if( m_vstSyncData->hasSHM )
Expand Down

0 comments on commit 709fc79

Please sign in to comment.