diff options
author | David Robillard <d@drobilla.net> | 2012-03-27 03:39:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-27 03:39:52 +0000 |
commit | 782502d948a6db4c70224ff856ecdece7c957325 (patch) | |
tree | 7d4e7b1d768c8ed418a10f14e7235e8bf4d4a3ac /src | |
parent | 2b32dca8340a7bf5001135006f607d75bed359c1 (diff) | |
download | ingen-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')
-rw-r--r-- | src/gui/ingen_gui_lv2.cpp | 2 | ||||
-rw-r--r-- | src/ingen/main.cpp | 2 | ||||
-rw-r--r-- | src/server/LV2Node.cpp | 2 | ||||
-rw-r--r-- | src/server/ingen_lv2.cpp | 2 | ||||
-rw-r--r-- | src/server/internals/Note.cpp | 12 | ||||
-rw-r--r-- | src/server/internals/Trigger.cpp | 2 | ||||
-rw-r--r-- | src/shared/AtomWriter.cpp | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp index 93ffdc5c..9d10b79e 100644 --- a/src/gui/ingen_gui_lv2.cpp +++ b/src/gui/ingen_gui_lv2.cpp @@ -59,7 +59,7 @@ struct IngenLV2UI { , sink(NULL) { } - + int argc; char** argv; Ingen::Forge* forge; diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 6ee1698c..f0a43b12 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -184,7 +184,7 @@ main(int argc, char** argv) if (conf.option("load").is_valid() || !conf.files().empty()) { boost::optional<Path> parent; boost::optional<Symbol> symbol; - + const Raul::Configuration::Value& path_option = conf.option("path"); if (path_option.is_valid()) { if (Path::is_valid(path_option.get_string())) { diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index f770aaa0..f81db707 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -241,7 +241,7 @@ LV2Node::instantiate(BufferFactory& bufs) port_type = PortType::ATOM; } - // Get buffer type if necessary (value and message ports) + // Get buffer type if necessary (value and message ports) if (!buffer_type) { LilvNodes* types = lilv_port_get_value(plug, id, bufferType_pred); LILV_FOREACH(nodes, i, types) { diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 1b11cbc5..1f442a96 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -643,7 +643,7 @@ lib_cleanup(LV2_Lib_Handle handle) Lib* lib = (Lib*)handle; delete lib; } - + static const LV2_Descriptor* lib_get_plugin(LV2_Lib_Handle handle, uint32_t index) { 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) { diff --git a/src/server/internals/Trigger.cpp b/src/server/internals/Trigger.cpp index 331d64d4..38f352b5 100644 --- a/src/server/internals/Trigger.cpp +++ b/src/server/internals/Trigger.cpp @@ -103,7 +103,7 @@ TriggerNode::process(ProcessContext& context) const uint8_t* buf = (const uint8_t*)LV2_ATOM_BODY(&ev->body); if (ev->body.type == _midi_in_port->bufs().uris().midi_MidiEvent && ev->body.size >= 3) { - const FrameTime time = context.start() + ev->time.frames; + const FrameTime time = context.start() + ev->time.frames; switch (buf[0] & 0xF0) { case MIDI_CMD_NOTE_ON: if (buf[2] == 0) { diff --git a/src/shared/AtomWriter.cpp b/src/shared/AtomWriter.cpp index cbca0451..79e4576f 100644 --- a/src/shared/AtomWriter.cpp +++ b/src/shared/AtomWriter.cpp @@ -140,7 +140,7 @@ AtomWriter::delta(const Raul::URI& uri, lv2_atom_forge_blank(&_forge, &remove_obj, 0, 0); forge_properties(remove); lv2_atom_forge_pop(&_forge, &remove_obj); - + lv2_atom_forge_property_head(&_forge, _uris.patch_add, 0); LV2_Atom_Forge_Frame add_obj; lv2_atom_forge_blank(&_forge, &add_obj, 0, 0); |