From 665f3bea5a7b145636b6d85bb3623013e38f1819 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 7 Mar 2011 19:06:42 +0000 Subject: fix all manner of wrongness with port buffer offsets git-svn-id: svn://localhost/ardour2/branches/3.0@9098 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/buffer_set.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/buffer_set.cc') diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc index 736c6a386d..b0a89f640d 100644 --- a/libs/ardour/buffer_set.cc +++ b/libs/ardour/buffer_set.cc @@ -113,7 +113,7 @@ BufferSet::attach_buffers (PortSet& ports) * Does not allocate, so RT-safe. */ void -BufferSet::get_jack_port_addresses (PortSet& ports, framecnt_t nframes, framecnt_t offset) +BufferSet::get_jack_port_addresses (PortSet& ports, framecnt_t nframes) { assert (_count == ports.count ()); assert (_available == ports.count ()); @@ -128,7 +128,7 @@ BufferSet::get_jack_port_addresses (PortSet& ports, framecnt_t nframes, framecnt int i = 0; for (PortSet::iterator p = ports.begin(*t); p != ports.end(*t); ++p) { - v[i] = &p->get_buffer (nframes, offset); + v[i] = &p->get_buffer (nframes); ++i; } } -- cgit v1.2.3