From d184de93fce861f4b632f410bde8d527ce1bf34f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jul 2012 04:34:18 +0000 Subject: Move continuous value setting stuff from AudioBuffer to PortImpl. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4582 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/server/InputPort.cpp') diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 796bfe52..901a409a 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -175,12 +175,11 @@ InputPort::pre_process(Context& context) if (_edges.empty()) { for (uint32_t v = 0; v < _poly; ++v) { - buffer(v)->prepare_read(context); + update_set_state(context, v); } } else if (direct_connect()) { for (uint32_t v = 0; v < _poly; ++v) { _buffers->at(v) = _edges.front().buffer(v); - _buffers->at(v)->prepare_read(context); } } else { uint32_t max_num_srcs = 1; @@ -196,7 +195,6 @@ InputPort::pre_process(Context& context) } mix(context, bufs().uris(), buffer(v).get(), srcs, num_srcs); - buffer(v)->prepare_read(context); } } -- cgit v1.2.1