summaryrefslogtreecommitdiffstats
path: root/src/engine/internals/Note.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-24 23:37:26 +0000
committerDavid Robillard <d@drobilla.net>2010-02-24 23:37:26 +0000
commit313af960a340f8539214d53252e3186fe3dc8f40 (patch)
tree49453be1a8f2eb9024498d1f64c3baffeb84f05b /src/engine/internals/Note.cpp
parente853d3dfcf450f6160e19f20b6b67e251c906169 (diff)
downloadingen-313af960a340f8539214d53252e3186fe3dc8f40.tar.gz
ingen-313af960a340f8539214d53252e3186fe3dc8f40.tar.bz2
ingen-313af960a340f8539214d53252e3186fe3dc8f40.zip
Merge NodeBase and NodeImpl.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2486 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/internals/Note.cpp')
-rw-r--r--src/engine/internals/Note.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/internals/Note.cpp b/src/engine/internals/Note.cpp
index fd2dee71..298af84a 100644
--- a/src/engine/internals/Note.cpp
+++ b/src/engine/internals/Note.cpp
@@ -48,7 +48,7 @@ static InternalPlugin note_plugin(NS_INTERNALS "Note", "note");
InternalPlugin& NoteNode::internal_plugin() { return note_plugin; }
NoteNode::NoteNode(BufferFactory& bufs, const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate)
- : NodeBase(&note_plugin, path, polyphonic, parent, srate)
+ : NodeImpl(&note_plugin, path, polyphonic, parent, srate)
, _voices(new Raul::Array<Voice>(_polyphony))
, _prepared_voices(NULL)
, _sustain(false)
@@ -94,7 +94,7 @@ NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly)
if (!_polyphonic)
return true;
- NodeBase::prepare_poly(bufs, poly);
+ NodeImpl::prepare_poly(bufs, poly);
if (_prepared_voices && poly <= _prepared_voices->size())
return true;
@@ -108,7 +108,7 @@ NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly)
bool
NoteNode::apply_poly(Raul::Maid& maid, uint32_t poly)
{
- if (!NodeBase::apply_poly(maid, poly))
+ if (!NodeImpl::apply_poly(maid, poly))
return false;
if (_prepared_voices) {
@@ -127,7 +127,7 @@ void
NoteNode::process(ProcessContext& context)
{
EventBuffer* const midi_in = (EventBuffer*)_midi_in_port->buffer(0).get();
- NodeBase::pre_process(context);
+ NodeImpl::pre_process(context);
uint32_t frames = 0;
uint32_t subframes = 0;
@@ -195,7 +195,7 @@ NoteNode::process(ProcessContext& context)
}
}
- NodeBase::post_process(context);
+ NodeImpl::post_process(context);
}