set + store signal chain latency for all processors; DiskWriter sets its capture_offs...
[ardour.git] / libs / ardour / processor.cc
index 23e55f91ae431d5d41351f9d0e4e10d5a4bbd28c..335bb0f019c6a12a4822bcf5c64bc0ef18fe7041 100644 (file)
@@ -68,6 +68,7 @@ Processor::Processor(Session& session, const string& name)
        , _window_proxy (0)
        , _pinmgr_proxy (0)
        , _owner (0)
+       , _input_latency (0)
 {
 }
 
@@ -86,6 +87,7 @@ Processor::Processor (const Processor& other)
        , _window_proxy (0)
        , _pinmgr_proxy (0)
        , _owner (0)
+       , _input_latency (0)
 {
 }
 
@@ -288,3 +290,10 @@ Processor::owner() const
 {
        return _owner;
 }
+
+void
+Processor::set_input_latency (framecnt_t cnt)
+{
+       _input_latency = cnt;
+}
+