diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-17 01:51:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-17 01:51:49 +0100 |
commit | 2ec28f3ce71faf596161f2210fc334f7521d1e93 (patch) | |
tree | c82a10ed7a1b504c902ad5a66bc62763be967aca /libs/ardour/ardour/lv2_plugin.h | |
parent | 4ee15fa7b3c0584e01f7978f2c7a99e5df3a6ed3 (diff) |
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.
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index 75d07547ef..e9f6bf0d09 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -75,7 +75,6 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee uint32_t parameter_count () const; float default_value (uint32_t port); samplecnt_t max_latency () const; - samplecnt_t signal_latency () const; void set_parameter (uint32_t port, float val); float get_parameter (uint32_t port) const; std::string get_docs() const; @@ -350,6 +349,8 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee bool _midnam_dirty; #endif + samplecnt_t plugin_latency () const; + void latency_compute_run (); std::string do_save_preset (std::string); void do_remove_preset (std::string); |