From 032d526710d174b30e0c9f33ff9f7e60e99fb172 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 20 Jun 2006 21:56:12 +0000 Subject: Renamed OmObject GraphObject; Merged Port::prepare_buffers and Node::run into GraphObject::process. git-svn-id: http://svn.drobilla.net/lad/grauph@69 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/InputPort.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/InputPort.cpp') diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp index 752efde4..960972e5 100644 --- a/src/libs/engine/InputPort.cpp +++ b/src/libs/engine/InputPort.cpp @@ -210,7 +210,7 @@ template void InputPort::tie(OutputPort* const port); */ template<> void -InputPort::prepare_buffers(size_t nframes) +InputPort::process(samplecount nframes) { //assert(!m_is_tied || m_tied_port != NULL); @@ -220,7 +220,7 @@ InputPort::prepare_buffers(size_t nframes) if (m_connections.size() == 0) return; for (TypedConnectionListIterator c = m_connections.begin(); c != m_connections.end(); ++c) - (*c)->prepare_buffers(); + (*c)->process(nframes); // If only one connection, buffer is (maybe) used directly (no copying) if (m_connections.size() == 1) { @@ -270,7 +270,7 @@ InputPort::prepare_buffers(size_t nframes) */ template <> void -InputPort::prepare_buffers(size_t nframes) +InputPort::process(samplecount nframes) { //assert(!m_is_tied || m_tied_port != NULL); @@ -283,7 +283,7 @@ InputPort::prepare_buffers(size_t nframes) assert(_poly == 1); for (TypedConnectionListIterator c = m_connections.begin(); c != m_connections.end(); ++c) - (*c)->prepare_buffers(); + (*c)->process(nframes); // If only one connection, buffer is used directly (no copying) -- cgit v1.2.1