Skip to content

Commit

Permalink
Fix CLAP plugins under hosts without latency callbacks
Browse files Browse the repository at this point in the history
Closes #432

Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 29, 2023
1 parent b4f3718 commit 4f11f8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distrho/src/DistrhoPluginCLAP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,9 @@ class PluginCLAP : ClapEventQueue

fLastKnownLatency = latency;

if (fHostExtensions.latency == nullptr)
return;

if (isActive)
{
fLatencyChanged = true;
Expand Down

0 comments on commit 4f11f8c

Please sign in to comment.