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/TypedConnection.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/libs/engine/TypedConnection.cpp') diff --git a/src/libs/engine/TypedConnection.cpp b/src/libs/engine/TypedConnection.cpp index ccfd36a1..94806f85 100644 --- a/src/libs/engine/TypedConnection.cpp +++ b/src/libs/engine/TypedConnection.cpp @@ -59,8 +59,11 @@ template TypedConnection::~TypedConnection(); template void -TypedConnection::prepare_buffers() +TypedConnection::process(samplecount nframes) { + // FIXME: nframes parameter not used + assert(nframes == m_buffer_size); + /* Thought: A poly output port can be connected to multiple mono input * ports, which means this mix down would have to happen many times. * Adding a method to OutputPort that mixes down all it's outputs into @@ -81,13 +84,13 @@ TypedConnection::prepare_buffers() m_local_buffer->scale(1.0f/(float)src_port()->poly(), 0, m_buffer_size-1); } } -template void TypedConnection::prepare_buffers(); +template void TypedConnection::process(samplecount nframes); // FIXME: MIDI mixing not implemented template <> void -TypedConnection::prepare_buffers() +TypedConnection::process(samplecount nframes) { } -- cgit v1.2.1