summaryrefslogtreecommitdiff
path: root/libs/ardour/processor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-31 18:32:26 +0100
committerRobin Gareus <robin@gareus.org>2017-10-31 18:32:26 +0100
commit00a4ad712c2d5ac73f04b0f43906590b24a22fb6 (patch)
treec849d672536222bc173c0e6fbbe3d38739dcbaf8 /libs/ardour/processor.cc
parent8e8168547bef7e404f70916fa3838cbe5c15bc62 (diff)
Move Loop Location to Processors
The processors will becomes responsible to know about loop-positions and map latency-compensated start_sample, end_sample into the loop-range as needed.
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r--libs/ardour/processor.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc
index c6e6c21360..19b6f30367 100644
--- a/libs/ardour/processor.cc
+++ b/libs/ardour/processor.cc
@@ -72,6 +72,7 @@ Processor::Processor(Session& session, const string& name)
, _output_latency (0)
, _capture_offset (0)
, _playback_offset (0)
+ , _loop_location (0)
{
}
@@ -91,6 +92,10 @@ Processor::Processor (const Processor& other)
, _pinmgr_proxy (0)
, _owner (0)
, _input_latency (0)
+ , _output_latency (0)
+ , _capture_offset (0)
+ , _playback_offset (0)
+ , _loop_location (other._loop_location)
{
}