diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-06-23 14:19:04 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:53 -0400 |
commit | 79abf3dfa6d649fbf1fb6fd16cd489f434d0b909 (patch) | |
tree | 32ff1d2f37f17c8eb627ac2357dff4aea4e149c7 /libs/ardour/processor.cc | |
parent | d4280997fb1764ae0df619fbb34031bebd4b0670 (diff) |
set + store signal chain latency for all processors; DiskWriter sets its capture_offset appropriately
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r-- | libs/ardour/processor.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index 23e55f91ae..335bb0f019 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -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; +} + |