Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Oct 1, 2024
1 parent 4593a32 commit 593def8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/DSP/ProPhatVoice.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ void ProPhatVoice<T>::updateLfo()
{
T lfoOut;
{
std::unique_lock<std::mutex> lck (lfoMutex, std::defer_lock);
if (! lck.try_lock())
std::unique_lock<std::mutex> lock (lfoMutex, std::defer_lock);
if (! lock.try_lock())
return;

lfoOut = lfo.processSample (T (0)) * lfoAmount;
Expand Down

0 comments on commit 593def8

Please sign in to comment.