diff options
author | David Robillard <d@drobilla.net> | 2006-09-08 03:58:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-08 03:58:00 +0000 |
commit | 48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa (patch) | |
tree | 9da4b4b075791ac1ec78b499dbcbec6101f54690 /src/libs/engine/InputPort.cpp | |
parent | acbe9a26ec3ab689e430225d15e95e73a7378aa9 (diff) | |
download | ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.gz ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.bz2 ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.zip |
De-singleton-ified Engine
Slight rework of Responder/ClientKey/ClientInterface for Requests
git-svn-id: http://svn.drobilla.net/lad/ingen@119 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/InputPort.cpp')
-rw-r--r-- | src/libs/engine/InputPort.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp index 29270bd1..830b370c 100644 --- a/src/libs/engine/InputPort.cpp +++ b/src/libs/engine/InputPort.cpp @@ -209,7 +209,7 @@ template void InputPort<MidiMessage>::tie(OutputPort<MidiMessage>* const port); */ template<> void -InputPort<Sample>::process(SampleCount nframes) +InputPort<Sample>::process(SampleCount nframes, FrameTime start, FrameTime end) { //assert(!m_is_tied || m_tied_port != NULL); @@ -219,7 +219,7 @@ InputPort<Sample>::process(SampleCount nframes) if (m_connections.size() == 0) return; for (TypedConnectionListIterator c = m_connections.begin(); c != m_connections.end(); ++c) - (*c)->process(nframes); + (*c)->process(nframes, start, end); // If only one connection, buffer is (maybe) used directly (no copying) if (m_connections.size() == 1) { @@ -272,7 +272,7 @@ InputPort<Sample>::process(SampleCount nframes) */ template <> void -InputPort<MidiMessage>::process(SampleCount nframes) +InputPort<MidiMessage>::process(SampleCount nframes, FrameTime start, FrameTime end) { //assert(!m_is_tied || m_tied_port != NULL); @@ -285,7 +285,7 @@ InputPort<MidiMessage>::process(SampleCount nframes) assert(_poly == 1); for (TypedConnectionListIterator c = m_connections.begin(); c != m_connections.end(); ++c) - (*c)->process(nframes); + (*c)->process(nframes, start, end); // If only one connection, buffer is used directly (no copying) |