X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fprocessor.cc;h=335bb0f019c6a12a4822bcf5c64bc0ef18fe7041;hb=79abf3dfa6d649fbf1fb6fd16cd489f434d0b909;hp=fc8f941d71e674721691f69040f0353508936aea;hpb=b2f3523ab621cb9b1dc30505411c11b54feb7c76;p=ardour.git diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index fc8f941d71..335bb0f019 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -28,6 +28,7 @@ #include "ardour/automatable.h" #include "ardour/chan_count.h" +#include "ardour/debug.h" #include "ardour/processor.h" #include "ardour/types.h" @@ -67,6 +68,7 @@ Processor::Processor(Session& session, const string& name) , _window_proxy (0) , _pinmgr_proxy (0) , _owner (0) + , _input_latency (0) { } @@ -85,9 +87,15 @@ Processor::Processor (const Processor& other) , _window_proxy (0) , _pinmgr_proxy (0) , _owner (0) + , _input_latency (0) { } +Processor::~Processor () +{ + DEBUG_TRACE (DEBUG::Destruction, string_compose ("processor %1 destructor\n", _name)); +} + XMLNode& Processor::get_state (void) { @@ -282,3 +290,10 @@ Processor::owner() const { return _owner; } + +void +Processor::set_input_latency (framecnt_t cnt) +{ + _input_latency = cnt; +} +