From 2dbd0cd81dff72aea42344188d20f7d7f6d20e1a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Jul 2006 05:46:24 +0000 Subject: Removed globals (Om.h) git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/TypedConnection.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/libs/engine/TypedConnection.cpp') diff --git a/src/libs/engine/TypedConnection.cpp b/src/libs/engine/TypedConnection.cpp index 714f5696..8915bfce 100644 --- a/src/libs/engine/TypedConnection.cpp +++ b/src/libs/engine/TypedConnection.cpp @@ -19,7 +19,6 @@ #include "InputPort.h" #include "OutputPort.h" #include "Node.h" -#include "Om.h" #include "Port.h" namespace Om { @@ -49,7 +48,7 @@ TypedConnection::TypedConnection(OutputPort* const src_port, InputPort* //cerr << "Connection " << src_port->path() << " -> " << dst_port->path() // << "\t mixing: " << m_must_mix << endl; } -template TypedConnection::TypedConnection(OutputPort* const src_port, InputPort* const dst_port); +template TypedConnection::TypedConnection(OutputPort* const src_port, InputPort* const dst_port); template TypedConnection::TypedConnection(OutputPort* const src_port, InputPort* const dst_port); @@ -58,13 +57,13 @@ TypedConnection::~TypedConnection() { delete m_local_buffer; } -template TypedConnection::~TypedConnection(); +template TypedConnection::~TypedConnection(); template TypedConnection::~TypedConnection(); -template +template void -TypedConnection::process(samplecount nframes) +TypedConnection::process(SampleCount nframes) { // FIXME: nframes parameter not used assert(nframes == m_buffer_size); @@ -92,13 +91,13 @@ TypedConnection::process(samplecount nframes) m_local_buffer->scale(1.0f/(float)src_port()->poly(), 0, m_buffer_size-1); } } -template void TypedConnection::process(samplecount nframes); +template void TypedConnection::process(SampleCount nframes); // FIXME: MIDI mixing not implemented template <> void -TypedConnection::process(samplecount nframes) +TypedConnection::process(SampleCount nframes) { } -- cgit v1.2.1