summaryrefslogtreecommitdiff
path: root/libs/ardour/latent.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-02-17 01:51:29 +0100
committerRobin Gareus <robin@gareus.org>2019-02-17 01:51:49 +0100
commit2ec28f3ce71faf596161f2210fc334f7521d1e93 (patch)
treec82a10ed7a1b504c902ad5a66bc62763be967aca /libs/ardour/latent.cc
parent4ee15fa7b3c0584e01f7978f2c7a99e5df3a6ed3 (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/latent.cc')
-rw-r--r--libs/ardour/latent.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/latent.cc b/libs/ardour/latent.cc
index 44ec0e7d30..a2e85f9d5e 100644
--- a/libs/ardour/latent.cc
+++ b/libs/ardour/latent.cc
@@ -24,6 +24,19 @@ using namespace ARDOUR;
bool ARDOUR::Latent::_zero_latency = false;
+Latent::Latent ()
+ : HasLatency ()
+ , _use_user_latency (false)
+ , _user_latency (0)
+{}
+
+Latent::Latent (Latent const& other)
+ : HasLatency ()
+ , _use_user_latency (other._use_user_latency)
+ , _user_latency (other._user_latency)
+{}
+
+
int
Latent::set_state (const XMLNode& node, int version)
{