From 3cffaeac74163535295513488756c55ba5e2dffa Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 16 Feb 2019 00:13:30 +0100 Subject: Prepare to allow to disable latency-compensation Previously "zero custom/user latency" meant "default plugin latency". This is now saved in a separate boolean allowing a user to reduce a processor's latency to zero. This also prepares for a global switch to use zero latency throughout the whole session. --- libs/ardour/vst_plugin.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/ardour/vst_plugin.cc') diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 4183283bff..e4968b5158 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -645,10 +645,6 @@ VSTPlugin::describe_parameter (Evoral::Parameter param) samplecnt_t VSTPlugin::signal_latency () const { - if (_user_latency) { - return _user_latency; - } - #if ( defined(__x86_64__) || defined(_M_X64) ) return *((int32_t *) (((char *) &_plugin->flags) + 24)); /* initialDelay */ #else -- cgit v1.2.3