diff --git a/sources/plugin_processor.cc b/sources/plugin_processor.cc index 3150d32..efdf79c 100644 --- a/sources/plugin_processor.cc +++ b/sources/plugin_processor.cc @@ -802,8 +802,10 @@ void AdlplugAudioProcessor::getStateInformation(MemoryBlock &data) std::lock_guard lock(player_lock_); Player *pl = player_.get(); - if (!pl) + if (!pl) { + data = last_state_information_; return; + } const Parameter_Block &pb = *parameter_block_; const Bank_Manager &bm = *bank_manager_;