Remove the unnecessary try-lock, processing the parameters
This commit is contained in:
parent
126dd49e28
commit
41810f9994
1 changed files with 1 additions and 3 deletions
|
|
@ -119,10 +119,8 @@ tresult PLUGIN_API SfizzVstProcessor::process(Vst::ProcessData& data)
|
|||
{
|
||||
sfz::Sfizz& synth = *_synth;
|
||||
|
||||
if (Vst::IParameterChanges* pc = data.inputParameterChanges) {
|
||||
std::unique_lock<std::mutex> lock(_processMutex, std::try_to_lock);
|
||||
if (Vst::IParameterChanges* pc = data.inputParameterChanges)
|
||||
processParameterChanges(*pc);
|
||||
}
|
||||
|
||||
if (data.numOutputs < 1) // flush mode
|
||||
return kResultTrue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue