From db674ac8b676bb3412422bb784abd35ca9a19930 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 29 Oct 2017 18:44:06 +0100 Subject: Remove unused per-port buffer offset --- libs/ardour/port.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libs/ardour/port.cc') diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index 3ae3063b29..ec67e9c0af 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -55,8 +55,7 @@ const uint32_t Port::_resampler_quality = 12; /** @param n Port short name */ Port::Port (std::string const & n, DataType t, PortFlags f) - : _port_buffer_offset (0) - , _name (n) + : _name (n) , _flags (f) , _last_monitor (false) { @@ -342,13 +341,6 @@ Port::reset () void Port::cycle_start (pframes_t) { - _port_buffer_offset = 0; -} - -void -Port::increment_port_buffer_offset (pframes_t nframes) -{ - _port_buffer_offset += nframes; } void -- cgit v1.2.3