diff options
author | David Robillard <d@drobilla.net> | 2006-07-18 05:46:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-18 05:46:24 +0000 |
commit | 2dbd0cd81dff72aea42344188d20f7d7f6d20e1a (patch) | |
tree | a3af76b4164c75b19d3973c88b05591be9e9d67d /src/libs/engine/TypedConnection.cpp | |
parent | 1d81360a04e0e5c0a57b8be1708e29a3f2bde848 (diff) | |
download | ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.gz ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.bz2 ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.zip |
Removed globals (Om.h)
git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/TypedConnection.cpp')
-rw-r--r-- | src/libs/engine/TypedConnection.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
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<T>::TypedConnection(OutputPort<T>* const src_port, InputPort<T>* //cerr << "Connection " << src_port->path() << " -> " << dst_port->path() // << "\t mixing: " << m_must_mix << endl; } -template TypedConnection<sample>::TypedConnection(OutputPort<sample>* const src_port, InputPort<sample>* const dst_port); +template TypedConnection<Sample>::TypedConnection(OutputPort<Sample>* const src_port, InputPort<Sample>* const dst_port); template TypedConnection<MidiMessage>::TypedConnection(OutputPort<MidiMessage>* const src_port, InputPort<MidiMessage>* const dst_port); @@ -58,13 +57,13 @@ TypedConnection<T>::~TypedConnection() { delete m_local_buffer; } -template TypedConnection<sample>::~TypedConnection(); +template TypedConnection<Sample>::~TypedConnection(); template TypedConnection<MidiMessage>::~TypedConnection(); -template <typename sample> +template <typename Sample> void -TypedConnection<sample>::process(samplecount nframes) +TypedConnection<Sample>::process(SampleCount nframes) { // FIXME: nframes parameter not used assert(nframes == m_buffer_size); @@ -92,13 +91,13 @@ TypedConnection<sample>::process(samplecount nframes) m_local_buffer->scale(1.0f/(float)src_port()->poly(), 0, m_buffer_size-1); } } -template void TypedConnection<sample>::process(samplecount nframes); +template void TypedConnection<Sample>::process(SampleCount nframes); // FIXME: MIDI mixing not implemented template <> void -TypedConnection<MidiMessage>::process(samplecount nframes) +TypedConnection<MidiMessage>::process(SampleCount nframes) { } |