From 9739af83e0bab9f7769590f330ee26734ccce08c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Feb 2015 20:21:26 +0000 Subject: Delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5582 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/SocketClient.hpp | 2 +- src/client/ClientStore.cpp | 2 +- src/gui/GraphCanvas.cpp | 2 +- src/gui/Port.cpp | 4 ++-- src/gui/PortMenu.cpp | 2 +- src/gui/WindowFactory.cpp | 2 +- src/ingen/ingen.cpp | 2 +- src/serialisation/Serialiser.cpp | 2 +- src/server/BlockImpl.cpp | 2 +- src/server/Broadcaster.hpp | 2 +- src/server/Buffer.cpp | 2 +- src/server/Engine.cpp | 2 +- src/server/GraphImpl.cpp | 2 +- src/server/PortImpl.cpp | 2 +- src/server/PostProcessor.cpp | 2 +- src/server/events/Copy.cpp | 2 +- src/server/events/Delta.hpp | 2 +- src/server/ingen_lv2.cpp | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp index 2b10adf0..c8da1e80 100644 --- a/ingen/client/SocketClient.hpp +++ b/ingen/client/SocketClient.hpp @@ -67,7 +67,7 @@ public: world->add_interface_factory("unix", &new_socket_interface); world->add_interface_factory("tcp", &new_socket_interface); } - + private: SPtr _respondee; SocketReader _reader; diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index d6cd4248..a61d511a 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -450,7 +450,7 @@ ClientStore::connect(const Raul::Path& src_path, #ifdef INGEN_CLIENT_STORE_DUMP std::cerr << "Client connect " << src_path << " => " << dst_path << std::endl; #endif - + attempt_connection(src_path, dst_path); } diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index 1fe665e7..4d1daa87 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -658,7 +658,7 @@ GraphCanvas::paste() get_scroll_offsets(scroll_x, scroll_y); const int paste_x = widget_point_x + scroll_x + (20.0f * _paste_count); const int paste_y = widget_point_y + scroll_y + (20.0f * _paste_count); - + // Put each top level object in the clipboard store ClashAvoider avoider(*_app.store().get()); for (const auto& c : clipboard) { diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 07e654db..908d71cf 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -161,7 +161,7 @@ Port::show_menu(GdkEventButton* ev) _app.log().error("Failed to load port menu widget\n"); return false; } - + menu->init(_app, model(), _flipped); menu->popup(ev->button, ev->time); return true; @@ -432,7 +432,7 @@ Port::set_type_tag() } else if (model()->is_toggle()) { tag = ((model()->value() != _app.uris().forge.make(0.0f)) ? "☑" : "☐"); - + } else { tag = "ℝ"; } diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index 70fb4f4e..a54ab4db 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -87,7 +87,7 @@ PortMenu::init(App& app, SPtr port, bool is_graph_port) if (!is_control && is_on_graph) { _separator_menuitem->hide(); } - + _enable_signal = true; } diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp index ebd008e6..193c3c2c 100644 --- a/src/gui/WindowFactory.cpp +++ b/src/gui/WindowFactory.cpp @@ -168,7 +168,7 @@ WindowFactory::new_graph_window(SPtr graph, _app.log().error("Failed to load graph window widget\n"); return NULL; } - + win->init_window(_app); win->box()->set_graph(graph, view); diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index 6355c753..e6aea823 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -84,7 +84,7 @@ print_version() << "There is NO WARRANTY, to the extent permitted by law." << endl; return EXIT_SUCCESS; } - + int main(int argc, char** argv) { diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 3cd05ef4..775736ae 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -55,7 +55,7 @@ namespace Serialisation { struct Serialiser::Impl { typedef Resource::Properties Properties; - + explicit Impl(World& world) : _root_path("/") , _world(world) diff --git a/src/server/BlockImpl.cpp b/src/server/BlockImpl.cpp index 3d684e6c..ce6b169c 100644 --- a/src/server/BlockImpl.cpp +++ b/src/server/BlockImpl.cpp @@ -224,7 +224,7 @@ BlockImpl::process(ProcessContext& context) offset = chunk_end; subcontext.slice(offset, chunk_end - offset); } - + post_process(context); } diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp index b610f2a2..b9aeae76 100644 --- a/src/server/Broadcaster.hpp +++ b/src/server/Broadcaster.hpp @@ -56,7 +56,7 @@ public: */ void set_ignore_client(SPtr client) { _ignore_client = client; } void clear_ignore_client() { _ignore_client.reset(); } - + /** Return true iff there are any clients with broadcasting enabled. * * This is used in the audio thread to decide whether or not notifications diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index ac77be63..36fa31f9 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -147,7 +147,7 @@ Buffer::copy(const Context& context, const Buffer* src) samples()[0] = src->samples()[0]; } else if (src->is_control() && is_audio()) { set_block(src->samples()[0], 0, context.nframes()); - } else if (src->is_sequence() && is_audio() && + } else if (src->is_sequence() && is_audio() && src->value_type() == _factory.uris().atom_Float) { render_sequence(context, src, false); } else { diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index b932e2ba..5fd792bf 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -151,7 +151,7 @@ Engine::listen() _listener = new SocketListener(*this); #endif } - + SPtr Engine::store() const { diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp index f9c0e767..a6e35123 100644 --- a/src/server/GraphImpl.cpp +++ b/src/server/GraphImpl.cpp @@ -85,7 +85,7 @@ GraphImpl::duplicate(Engine& engine, // We need a map of port duplicates to duplicate arcs typedef std::unordered_map PortMap; PortMap port_map; - + // Add duplicates of all ports dup->_ports = new Raul::Array(num_ports(), NULL); for (Ports::iterator p = _inputs.begin(); p != _inputs.end(); ++p) { diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index bf605856..c151aab6 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -466,7 +466,7 @@ PortImpl::monitor(Context& context, bool send_now) } } } - + _frames_since_monitor = _frames_since_monitor % period; if (key && val != _monitor_value) { if (context.notify(key, context.start(), this, diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp index 1ba17450..d9a06b9d 100644 --- a/src/server/PostProcessor.cpp +++ b/src/server/PostProcessor.cpp @@ -107,7 +107,7 @@ PostProcessor::process() points to the last post-processed event, which will be the new head. */ assert(ev); _head = ev; - + // Process remaining audio thread notifications until end _engine.process_context().emit_notifications(end_time); } diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 67ab4747..92d3b3ec 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -103,7 +103,7 @@ Copy::pre_process() if (_parent->enabled()) { _compiled_graph = _parent->compile(); } - + return Event::pre_process_done(Status::SUCCESS); } diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 45de197e..43edacbf 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -74,7 +74,7 @@ public: PUT, PATCH }; - + Delta(Engine& engine, SPtr client, int32_t id, diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 23e65108..7238a69c 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -800,7 +800,7 @@ Lib::Lib(const char* bundle_path) (const uint8_t*)manifest_path.c_str(), NULL, NULL, true); graphs = find_graphs((const char*)manifest_node.buf); - + serd_node_free(&manifest_node); } -- cgit v1.2.1