summaryrefslogtreecommitdiffstats
path: root/src/server/internals/Note.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-27 03:39:52 +0000
committerDavid Robillard <d@drobilla.net>2012-03-27 03:39:52 +0000
commit782502d948a6db4c70224ff856ecdece7c957325 (patch)
tree7d4e7b1d768c8ed418a10f14e7235e8bf4d4a3ac /src/server/internals/Note.cpp
parent2b32dca8340a7bf5001135006f607d75bed359c1 (diff)
downloadingen-782502d948a6db4c70224ff856ecdece7c957325.tar.gz
ingen-782502d948a6db4c70224ff856ecdece7c957325.tar.bz2
ingen-782502d948a6db4c70224ff856ecdece7c957325.zip
Delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4112 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/internals/Note.cpp')
-rw-r--r--src/server/internals/Note.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index 3f2729af..65486045 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -64,30 +64,30 @@ NoteNode::NoteNode(
const Ingen::Shared::URIs& uris = bufs.uris();
_ports = new Raul::Array<PortImpl*>(5);
- _midi_in_port = new InputPort(bufs, this, "input", 0, 1,
+ _midi_in_port = new InputPort(bufs, this, "input", 0, 1,
PortType::ATOM, uris.atom_Sequence, Raul::Atom());
_midi_in_port->set_property(uris.lv2_name, bufs.forge().alloc("Input"));
_ports->at(0) = _midi_in_port;
- _freq_port = new OutputPort(bufs, this, "frequency", 1, _polyphony,
+ _freq_port = new OutputPort(bufs, this, "frequency", 1, _polyphony,
PortType::AUDIO, 0, bufs.forge().make(440.0f));
_freq_port->set_property(uris.lv2_name, bufs.forge().alloc("Frequency"));
_ports->at(1) = _freq_port;
- _vel_port = new OutputPort(bufs, this, "velocity", 2, _polyphony,
+ _vel_port = new OutputPort(bufs, this, "velocity", 2, _polyphony,
PortType::AUDIO, 0, bufs.forge().make(0.0f));
_vel_port->set_property(uris.lv2_minimum, bufs.forge().make(0.0f));
_vel_port->set_property(uris.lv2_maximum, bufs.forge().make(1.0f));
_vel_port->set_property(uris.lv2_name, bufs.forge().alloc("Velocity"));
_ports->at(2) = _vel_port;
- _gate_port = new OutputPort(bufs, this, "gate", 3, _polyphony,
+ _gate_port = new OutputPort(bufs, this, "gate", 3, _polyphony,
PortType::AUDIO, 0, bufs.forge().make(0.0f));
_gate_port->set_property(uris.lv2_portProperty, uris.lv2_toggled);
_gate_port->set_property(uris.lv2_name, bufs.forge().alloc("Gate"));
_ports->at(3) = _gate_port;
- _trig_port = new OutputPort(bufs, this, "trigger", 4, _polyphony,
+ _trig_port = new OutputPort(bufs, this, "trigger", 4, _polyphony,
PortType::AUDIO, 0, bufs.forge().make(0.0f));
_trig_port->set_property(uris.lv2_portProperty, uris.lv2_toggled);
_trig_port->set_property(uris.lv2_name, bufs.forge().alloc("Trigger"));
@@ -136,7 +136,7 @@ void
NoteNode::process(ProcessContext& context)
{
NodeImpl::pre_process(context);
-
+
Buffer* const midi_in = _midi_in_port->buffer(0).get();
LV2_Atom_Sequence* seq = (LV2_Atom_Sequence*)midi_in->atom();
LV2_SEQUENCE_FOREACH(seq, i) {