Revert the removal of VST mutex lock, for now
This commit is contained in:
parent
8669d8b093
commit
4efdcd0ca5
1 changed files with 1 additions and 0 deletions
|
|
@ -342,6 +342,7 @@ void SfizzVstProcessor::doBackgroundWork()
|
|||
if (!std::strcmp(id, "LoadSfz")) {
|
||||
std::vector<Vst::TChar> path(maxPathLen + 1);
|
||||
if (attr->getString("File", path.data(), maxPathLen) == kResultTrue) {
|
||||
std::lock_guard<std::mutex> lock(_processMutex);
|
||||
_state.sfzFile = Steinberg::String(path.data()).text8();
|
||||
_synth->loadSfzFile(_state.sfzFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue