summaryrefslogtreecommitdiff
path: root/libs/ardour/disk_io.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/disk_io.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/disk_io.cc')
-rw-r--r--libs/ardour/disk_io.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/disk_io.cc b/libs/ardour/disk_io.cc
index 1872c81ea9..c43e42c315 100644
--- a/libs/ardour/disk_io.cc
+++ b/libs/ardour/disk_io.cc
@@ -52,7 +52,6 @@ DiskIOProcessor::DiskIOProcessor (Session& s, string const & str, Flag f)
, i_am_the_modifier (false)
, _seek_required (false)
, _slaved (false)
- , loop_location (0)
, in_set_state (false)
, playback_sample (0)
, _need_butler (false)
@@ -182,22 +181,6 @@ DiskIOProcessor::set_block_size (pframes_t nframes)
return 0;
}
-int
-DiskIOProcessor::set_loop (Location *location)
-{
- if (location) {
- if (location->start() >= location->end()) {
- error << string_compose(_("Location \"%1\" not valid for track loop (start >= end)"), location->name()) << endl;
- return -1;
- }
- }
-
- loop_location = location;
-
- LoopSet (location); /* EMIT SIGNAL */
- return 0;
-}
-
void
DiskIOProcessor::non_realtime_locate (samplepos_t location)
{