From 313af960a340f8539214d53252e3186fe3dc8f40 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 24 Feb 2010 23:37:26 +0000 Subject: Merge NodeBase and NodeImpl. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2486 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/internals/Note.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine/internals/Note.cpp') 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(¬e_plugin, path, polyphonic, parent, srate) + : NodeImpl(¬e_plugin, path, polyphonic, parent, srate) , _voices(new Raul::Array(_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); } -- cgit v1.2.1