diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch) | |
tree | 089c1366a567dfbf88c0473288236b276ef24bf6 /src/engine/internals/Note.cpp | |
parent | 987710474b824cb92d83ff6fa7a090f50e10756f (diff) | |
download | ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2 ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/internals/Note.cpp')
-rw-r--r-- | src/engine/internals/Note.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/engine/internals/Note.cpp b/src/engine/internals/Note.cpp index a92e3069..ab2c6508 100644 --- a/src/engine/internals/Note.cpp +++ b/src/engine/internals/Note.cpp @@ -87,13 +87,11 @@ NoteNode::NoteNode( _ports->at(4) = _trig_port; } - NoteNode::~NoteNode() { delete _voices; } - bool NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly) { @@ -110,7 +108,6 @@ NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly) return true; } - bool NoteNode::apply_poly(Raul::Maid& maid, uint32_t poly) { @@ -128,7 +125,6 @@ NoteNode::apply_poly(Raul::Maid& maid, uint32_t poly) return true; } - void NoteNode::process(ProcessContext& context) { @@ -204,7 +200,6 @@ NoteNode::process(ProcessContext& context) NodeImpl::post_process(context); } - void NoteNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, FrameTime time) { @@ -294,7 +289,6 @@ NoteNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, F assert((*_voices)[key->voice].note == note_num); } - void NoteNode::note_off(ProcessContext& context, uint8_t note_num, FrameTime time) { @@ -333,7 +327,6 @@ NoteNode::note_off(ProcessContext& context, uint8_t note_num, FrameTime time) key->state = Key::OFF; } - void NoteNode::free_voice(ProcessContext& context, uint32_t voice, FrameTime time) { @@ -374,7 +367,6 @@ NoteNode::free_voice(ProcessContext& context, uint32_t voice, FrameTime time) } } - void NoteNode::all_notes_off(ProcessContext& context, FrameTime time) { @@ -392,7 +384,6 @@ NoteNode::all_notes_off(ProcessContext& context, FrameTime time) } } - float NoteNode::note_to_freq(int num) { @@ -402,14 +393,12 @@ NoteNode::note_to_freq(int num) return 1.0f; // Frequency of zero causes numerical problems... } - void NoteNode::sustain_on(ProcessContext& context, FrameTime time) { _sustain = true; } - void NoteNode::sustain_off(ProcessContext& context, FrameTime time) { @@ -422,7 +411,6 @@ NoteNode::sustain_off(ProcessContext& context, FrameTime time) free_voice(context, i, time); } - } // namespace Internals } // namespace Ingen |