Skip to content

Commit

Permalink
Correct last commit
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Oct 14, 2021
1 parent f9d0e06 commit 73cf853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/backend/CarlaStandalone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ uint32_t carla_get_plugin_latency(CarlaHostHandle handle, uint pluginId)
CARLA_SAFE_ASSERT_RETURN(handle->engine != nullptr, 0);

if (const CarlaPluginPtr plugin = handle->engine->getPlugin(pluginId))
return plugin->getLatency();
return plugin->getLatencyInFrames();

return 0;
}
Expand Down

0 comments on commit 73cf853

Please sign in to comment.