From 2ec28f3ce71faf596161f2210fc334f7521d1e93 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 17 Feb 2019 01:51:29 +0100 Subject: Clean up Latency API (Processor vs Plugin) Plugins are only a source of Latency (Plugin delay). The API to query, signal and override Latency is managed by PluginInsert. --- libs/ardour/ardour/luaproc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/luaproc.h') diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h index a077254179..d311ebfcf6 100644 --- a/libs/ardour/ardour/luaproc.h +++ b/libs/ardour/ardour/luaproc.h @@ -85,7 +85,6 @@ public: void cleanup () { } int set_block_size (pframes_t /*nframes*/) { return 0; } - samplecnt_t signal_latency() const { return _signal_latency; } int connect_and_run (BufferSet& bufs, samplepos_t start, samplepos_t end, double speed, @@ -129,6 +128,7 @@ public: LuaTableRef* instance_ref () { return &lref; } private: + samplecnt_t plugin_latency() const { return _signal_latency; } void find_presets (); /* END Plugin interface */ -- cgit v1.2.3