remove duplicated (in heirarchy) loop location from DiskReader

This commit is contained in:
Paul Davis 2017-03-09 12:37:07 +01:00
parent c6dd3045d1
commit f8ef82fceb
2 changed files with 0 additions and 20 deletions

View file

@ -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;

View file

@ -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
{