diff options
author | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
commit | a659a13c531e991851e013db3d4223bf16a343b8 (patch) | |
tree | 583112a95bc6abeb39dd514c987ff1c82b3d2e9e /src/server | |
parent | 28ab52045a429eb190ea1a23cef92d81c36748f5 (diff) | |
download | ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2 ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip |
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
27 files changed, 10 insertions, 33 deletions
diff --git a/src/server/ArcImpl.cpp b/src/server/ArcImpl.cpp index eea8ddcb..8b8a23b4 100644 --- a/src/server/ArcImpl.cpp +++ b/src/server/ArcImpl.cpp @@ -104,4 +104,3 @@ ArcImpl::can_connect(const OutputPort* src, const InputPort* dst) } // namespace Server } // namespace Ingen - diff --git a/src/server/BlockImpl.cpp b/src/server/BlockImpl.cpp index 76831436..ad5a233e 100644 --- a/src/server/BlockImpl.cpp +++ b/src/server/BlockImpl.cpp @@ -179,4 +179,3 @@ BlockImpl::set_port_buffer(uint32_t voice, } // namespace Server } // namespace Ingen - diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp index b77773fe..069a0499 100644 --- a/src/server/Broadcaster.hpp +++ b/src/server/Broadcaster.hpp @@ -157,4 +157,3 @@ private: } // namespace Ingen #endif // INGEN_ENGINE_CLIENTBROADCASTER_HPP - diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index 270d95aa..d2a550e5 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -151,8 +151,8 @@ Buffer::port_data(PortType port_type) const static inline __m128 mm_abs_ps(__m128 x) { - const __m128 sign_mask = _mm_set1_ps(-0.0f); // -0.0f = 1 << 31 - return _mm_andnot_ps(sign_mask, x); + const __m128 sign_mask = _mm_set1_ps(-0.0f); // -0.0f = 1 << 31 + return _mm_andnot_ps(sign_mask, x); } #endif diff --git a/src/server/Context.hpp b/src/server/Context.hpp index 076622eb..bea43943 100644 --- a/src/server/Context.hpp +++ b/src/server/Context.hpp @@ -113,4 +113,3 @@ protected: } // namespace Ingen #endif // INGEN_ENGINE_CONTEXT_HPP - diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp index f25dcc81..2bb99dc8 100644 --- a/src/server/GraphImpl.cpp +++ b/src/server/GraphImpl.cpp @@ -46,7 +46,7 @@ GraphImpl::GraphImpl(Engine& engine, engine.world()->uris().ingen_Graph, Raul::Symbol("graph"), "Ingen Graph"), - symbol, poly, parent, srate) + symbol, poly, parent, srate) , _engine(engine) , _poly_pre(internal_poly) , _poly_process(internal_poly) diff --git a/src/server/GraphPlugin.hpp b/src/server/GraphPlugin.hpp index 3b1e9bfa..ddd962f1 100644 --- a/src/server/GraphPlugin.hpp +++ b/src/server/GraphPlugin.hpp @@ -60,4 +60,3 @@ private: } // namespace Ingen #endif // INGEN_ENGINE_GRAPHPLUGIN_HPP - diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index cdf70575..04217902 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -236,4 +236,3 @@ InputPort::direct_connect() const } // namespace Server } // namespace Ingen - diff --git a/src/server/InternalPlugin.hpp b/src/server/InternalPlugin.hpp index fc5537bf..0e9a2769 100644 --- a/src/server/InternalPlugin.hpp +++ b/src/server/InternalPlugin.hpp @@ -55,4 +55,3 @@ private: } // namespace Ingen #endif // INGEN_ENGINE_INTERNALPLUGIN_HPP - diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp index 8157bdbf..94183e42 100644 --- a/src/server/JackDriver.cpp +++ b/src/server/JackDriver.cpp @@ -93,7 +93,7 @@ JackDriver::attach(const std::string& server_name, JackSessionID, NULL, uuid.c_str()); _engine.log().info(fmt("Connected to JACK as `%1%' (UUID `%2%')\n") - % client_name.c_str() % uuid); + % client_name.c_str() % uuid); } #endif @@ -103,7 +103,7 @@ JackDriver::attach(const std::string& server_name, JackServerName, NULL, server_name.c_str()))) { _engine.log().info(fmt("Connected to JACK server `%1%'\n") - % server_name); + % server_name); } } diff --git a/src/server/LV2Block.cpp b/src/server/LV2Block.cpp index 5e97bfe5..ab46e069 100644 --- a/src/server/LV2Block.cpp +++ b/src/server/LV2Block.cpp @@ -508,4 +508,3 @@ LV2Block::set_port_buffer(uint32_t voice, } // namespace Server } // namespace Ingen - diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index a9cf0afc..321fcd9c 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -113,4 +113,3 @@ protected: } // namespace Ingen #endif // INGEN_ENGINE_LV2BLOCK_HPP - diff --git a/src/server/LV2Plugin.hpp b/src/server/LV2Plugin.hpp index 1bd4822a..6788e41d 100644 --- a/src/server/LV2Plugin.hpp +++ b/src/server/LV2Plugin.hpp @@ -61,4 +61,3 @@ private: } // namespace Ingen #endif // INGEN_ENGINE_LV2PLUGIN_HPP - diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp index 342225ef..b1321e59 100644 --- a/src/server/PluginImpl.hpp +++ b/src/server/PluginImpl.hpp @@ -71,4 +71,3 @@ protected: } // namespace Ingen #endif // INGEN_ENGINE_PLUGINIMPL_HPP - diff --git a/src/server/PreProcessor.hpp b/src/server/PreProcessor.hpp index 26f74d78..37d14486 100644 --- a/src/server/PreProcessor.hpp +++ b/src/server/PreProcessor.hpp @@ -69,4 +69,3 @@ private: } // namespace Ingen #endif // INGEN_ENGINE_PREPROCESSOR_HPP - diff --git a/src/server/events.hpp b/src/server/events.hpp index 24ac8593..9a1346b7 100644 --- a/src/server/events.hpp +++ b/src/server/events.hpp @@ -30,4 +30,3 @@ #include "events/SetPortValue.hpp" #endif // INGEN_ENGINE_EVENTS_HPP - diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index 77c0255d..1e1e2228 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -93,10 +93,10 @@ CreateBlock::pre_process() p->second.get<int32_t>()); if (!(_block = plugin->instantiate(*_engine.buffer_factory(), - Raul::Symbol(_path.symbol()), - polyphonic, - _graph, - _engine))) { + Raul::Symbol(_path.symbol()), + polyphonic, + _graph, + _engine))) { return Event::pre_process_done(Status::CREATION_FAILED, _path); } diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp index a5fea0da..2a1a7994 100644 --- a/src/server/events/CreatePort.cpp +++ b/src/server/events/CreatePort.cpp @@ -197,4 +197,3 @@ CreatePort::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 91e46c01..90baaa52 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -395,4 +395,3 @@ Delta::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 3ea94796..e0931f59 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -220,4 +220,3 @@ Disconnect::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index c366508b..ef876ffe 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -169,4 +169,3 @@ DisconnectAll::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp index b46f12a7..f7fa5e6a 100644 --- a/src/server/events/Get.cpp +++ b/src/server/events/Get.cpp @@ -161,4 +161,3 @@ Get::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index 6b149ee2..df0cb06d 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -126,4 +126,3 @@ SetPortValue::post_process() } // namespace Events } // namespace Server } // namespace Ingen - diff --git a/src/server/internals/Controller.cpp b/src/server/internals/Controller.cpp index 5ac37df4..1f4f75cc 100644 --- a/src/server/internals/Controller.cpp +++ b/src/server/internals/Controller.cpp @@ -148,4 +148,3 @@ ControllerNode::control(ProcessContext& context, uint8_t control_num, uint8_t va } // namespace Internals } // namespace Server } // namespace Ingen - diff --git a/src/server/internals/Delay.cpp b/src/server/internals/Delay.cpp index c528a068..78d2118c 100644 --- a/src/server/internals/Delay.cpp +++ b/src/server/internals/Delay.cpp @@ -207,4 +207,3 @@ DelayNode::process(ProcessContext& context) } // namespace Internals } // namespace Server } // namespace Ingen - diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp index a1da9f2f..e2ead4b7 100644 --- a/src/server/internals/Note.cpp +++ b/src/server/internals/Note.cpp @@ -75,7 +75,7 @@ NoteNode::NoteNode(InternalPlugin* plugin, _ports->at(1) = _freq_port; _num_port = new OutputPort(bufs, this, Raul::Symbol("number"), 1, _polyphony, - PortType::CV, 0, bufs.forge().make(0.0f)); + PortType::CV, 0, bufs.forge().make(0.0f)); _num_port->set_property(uris.lv2_minimum, bufs.forge().make(0.0f)); _num_port->set_property(uris.lv2_maximum, bufs.forge().make(127.0f)); _num_port->set_property(uris.lv2_portProperty, uris.lv2_integer); @@ -359,4 +359,3 @@ NoteNode::sustain_off(ProcessContext& context, FrameTime time) } // namespace Internals } // namespace Server } // namespace Ingen - diff --git a/src/server/internals/Time.cpp b/src/server/internals/Time.cpp index 22e714b0..6f090257 100644 --- a/src/server/internals/Time.cpp +++ b/src/server/internals/Time.cpp @@ -80,4 +80,3 @@ TimeNode::process(ProcessContext& context) } // namespace Internals } // namespace Server } // namespace Ingen - |