projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set + store signal chain latency for all processors; DiskWriter sets its capture_offs...
[ardour.git]
/
libs
/
ardour
/
processor.cc
diff --git
a/libs/ardour/processor.cc
b/libs/ardour/processor.cc
index fc8f941d71e674721691f69040f0353508936aea..335bb0f019c6a12a4822bcf5c64bc0ef18fe7041 100644
(file)
--- 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/automatable.h"
#include "ardour/chan_count.h"
+#include "ardour/debug.h"
#include "ardour/processor.h"
#include "ardour/types.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)
, _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)
, _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)
{
XMLNode&
Processor::get_state (void)
{
@@
-282,3
+290,10
@@
Processor::owner() const
{
return _owner;
}
{
return _owner;
}
+
+void
+Processor::set_input_latency (framecnt_t cnt)
+{
+ _input_latency = cnt;
+}
+