diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-03-09 12:37:07 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | f8ef82fceb6dfa8900f29871f706cced7eda55f5 (patch) | |
tree | 0eba1f2ccf6fab0f2589f90c9e2d2ff74a18fdae /libs | |
parent | c6dd3045d1079f1b3c53451749dc01137428bcfc (diff) |
remove duplicated (in heirarchy) loop location from DiskReader
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/disk_reader.h | 3 | ||||
-rw-r--r-- | libs/ardour/disk_reader.cc | 17 |
2 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index 4f1c47ae8e..6a50594dc4 100644 --- a/libs/ardour/ardour/disk_reader.h +++ b/libs/ardour/ardour/disk_reader.h @@ -71,8 +71,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor PBD::Signal1<void,DataType> PlaylistChanged; PBD::Signal0<void> AlignmentStyleChanged; - int set_loop (Location *loc); - float buffer_load() const; void move_processor_automation (boost::weak_ptr<Processor>, std::list<Evoral::RangeMove<framepos_t> > const &); @@ -124,7 +122,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor with respect to the transport frame. This is used for latency compensation. */ framecnt_t _roll_delay; - Location* loop_location; framepos_t overwrite_frame; off_t overwrite_offset; bool _pending_overwrite; diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index 1a390afdb3..73d905b4c8 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -42,7 +42,6 @@ ARDOUR::framecnt_t DiskReader::_chunk_frames = default_chunk_frames (); DiskReader::DiskReader (Session& s, string const & str, DiskIOProcessor::Flag f) : DiskIOProcessor (s, str, f) , _roll_delay (0) - , loop_location (0) , overwrite_frame (0) , overwrite_offset (0) , _pending_overwrite (false) @@ -214,22 +213,6 @@ DiskReader::realtime_locate () { } -int -DiskReader::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; -} - float DiskReader::buffer_load () const { |