summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/TypedConnection.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-18 05:46:24 +0000
committerDavid Robillard <d@drobilla.net>2006-07-18 05:46:24 +0000
commit2dbd0cd81dff72aea42344188d20f7d7f6d20e1a (patch)
treea3af76b4164c75b19d3973c88b05591be9e9d67d /src/libs/engine/TypedConnection.h
parent1d81360a04e0e5c0a57b8be1708e29a3f2bde848 (diff)
downloadingen-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.h')
-rw-r--r--src/libs/engine/TypedConnection.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/TypedConnection.h b/src/libs/engine/TypedConnection.h
index a0f50362..18f086f1 100644
--- a/src/libs/engine/TypedConnection.h
+++ b/src/libs/engine/TypedConnection.h
@@ -39,7 +39,7 @@ public:
TypedConnection(OutputPort<T>* const src_port, InputPort<T>* const dst_port);
virtual ~TypedConnection();
- void process(samplecount nframes);
+ void process(SampleCount nframes);
inline OutputPort<T>* src_port() const { return dynamic_cast<OutputPort<T>*>(m_src_port); }
inline InputPort<T>* dst_port() const { return dynamic_cast<InputPort<T>*>(m_dst_port); }
@@ -68,10 +68,10 @@ private:
template <>
-inline Buffer<sample>*
-TypedConnection<sample>::buffer(size_t voice) const
+inline Buffer<Sample>*
+TypedConnection<Sample>::buffer(size_t voice) const
{
- TypedPort<sample>* const src_port = (TypedPort<sample>*)m_src_port;
+ TypedPort<Sample>* const src_port = (TypedPort<Sample>*)m_src_port;
if (m_must_mix) {
return m_local_buffer;
@@ -97,7 +97,7 @@ TypedConnection<MidiMessage>::buffer(size_t voice) const
}
-template class TypedConnection<sample>;
+template class TypedConnection<Sample>;
template class TypedConnection<MidiMessage>;
} // namespace Om