summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ClashAvoider.cpp4
-rw-r--r--src/Configuration.cpp28
-rw-r--r--src/bindings/Client.hpp8
-rw-r--r--src/bindings/ingen_bindings.hpp4
-rw-r--r--src/client/ClientStore.cpp3
-rw-r--r--src/client/GraphModel.cpp8
-rw-r--r--src/client/ObjectModel.cpp1
-rw-r--r--src/client/ingen_client.cpp1
-rw-r--r--src/gui/App.cpp5
-rw-r--r--src/gui/App.hpp29
-rw-r--r--src/gui/BreadCrumbs.cpp22
-rw-r--r--src/gui/BreadCrumbs.hpp2
-rw-r--r--src/gui/GraphCanvas.hpp2
-rw-r--r--src/gui/GraphPortModule.cpp2
-rw-r--r--src/gui/GraphPortModule.hpp2
-rw-r--r--src/gui/GraphTreeWindow.cpp8
-rw-r--r--src/gui/GraphTreeWindow.hpp4
-rw-r--r--src/gui/GraphView.cpp2
-rw-r--r--src/gui/GraphView.hpp8
-rw-r--r--src/gui/GraphWindow.hpp2
-rw-r--r--src/gui/LoadGraphWindow.cpp36
-rw-r--r--src/gui/LoadPluginWindow.cpp1
-rw-r--r--src/gui/NodeMenu.cpp8
-rw-r--r--src/gui/NodeModule.cpp4
-rw-r--r--src/gui/NodeModule.hpp6
-rw-r--r--src/gui/ObjectMenu.cpp19
-rw-r--r--src/gui/PluginMenu.hpp2
-rw-r--r--src/gui/Port.cpp10
-rw-r--r--src/gui/PortMenu.cpp5
-rw-r--r--src/gui/PropertiesWindow.cpp40
-rw-r--r--src/gui/Style.hpp1
-rw-r--r--src/gui/SubgraphModule.cpp4
-rw-r--r--src/gui/SubgraphModule.hpp6
-rw-r--r--src/gui/ThreadedLoader.cpp7
-rw-r--r--src/gui/ThreadedLoader.hpp6
-rw-r--r--src/gui/Window.cpp1
-rw-r--r--src/gui/WindowFactory.cpp5
-rw-r--r--src/gui/ingen_gui.cpp1
-rw-r--r--src/ingen/main.cpp15
-rw-r--r--src/runtime_paths.cpp1
-rw-r--r--src/serialisation/Parser.cpp11
-rw-r--r--src/serialisation/serialisation.cpp7
-rw-r--r--src/server/ArcImpl.cpp1
-rw-r--r--src/server/BlockImpl.cpp1
-rw-r--r--src/server/Broadcaster.hpp1
-rw-r--r--src/server/Buffer.cpp4
-rw-r--r--src/server/Context.hpp1
-rw-r--r--src/server/GraphImpl.cpp2
-rw-r--r--src/server/GraphPlugin.hpp1
-rw-r--r--src/server/InputPort.cpp1
-rw-r--r--src/server/InternalPlugin.hpp1
-rw-r--r--src/server/JackDriver.cpp4
-rw-r--r--src/server/LV2Block.cpp1
-rw-r--r--src/server/LV2Block.hpp1
-rw-r--r--src/server/LV2Plugin.hpp1
-rw-r--r--src/server/PluginImpl.hpp1
-rw-r--r--src/server/PreProcessor.hpp1
-rw-r--r--src/server/events.hpp1
-rw-r--r--src/server/events/CreateBlock.cpp8
-rw-r--r--src/server/events/CreatePort.cpp1
-rw-r--r--src/server/events/Delta.cpp1
-rw-r--r--src/server/events/Disconnect.cpp1
-rw-r--r--src/server/events/DisconnectAll.cpp1
-rw-r--r--src/server/events/Get.cpp1
-rw-r--r--src/server/events/SetPortValue.cpp1
-rw-r--r--src/server/internals/Controller.cpp1
-rw-r--r--src/server/internals/Delay.cpp1
-rw-r--r--src/server/internals/Note.cpp3
-rw-r--r--src/server/internals/Time.cpp1
69 files changed, 176 insertions, 208 deletions
diff --git a/src/ClashAvoider.cpp b/src/ClashAvoider.cpp
index 5ac7a773..734b7d04 100644
--- a/src/ClashAvoider.cpp
+++ b/src/ClashAvoider.cpp
@@ -74,14 +74,14 @@ ClashAvoider::map_path(const Raul::Path& in)
parent = parent.parent();
} while (!parent.is_root());
- // No clash, use symbol unmodified
if (!exists(in) && _symbol_map.find(in) == _symbol_map.end()) {
+ // No clash, use symbol unmodified
InsertRecord i = _symbol_map.insert(make_pair(in, in));
assert(i.second);
return i.first->second;
- // Append _2 _3 etc until an unused symbol is found
} else {
+ // Append _2 _3 etc until an unused symbol is found
while (true) {
Offsets::iterator o = _offsets.find(base_path);
if (o != _offsets.end()) {
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index 67899d9a..536be9d8 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -35,17 +35,17 @@ Configuration::Configuration(Forge& forge)
: _forge(forge)
, _shortdesc("A realtime modular audio processor.")
, _desc(
-"Ingen is a flexible modular system that be used in various ways.\n"
-"The engine can run as a stand-alone server controlled via network protocol,\n"
-"or internal to another process (e.g. the GUI). The GUI, or other clients,\n"
-"can communicate with the engine via any supported protocol, or run in the\n"
-"same process. Many clients can connect to an engine at once.\n\n"
-"Examples:\n"
-" ingen -e # Run an engine, listen for connections\n"
-" ingen -g # Run a GUI, connect to running engine\n"
-" ingen -eg # Run an engine and a GUI in one process\n"
-" ingen -egl foo.ttl # Run an engine and a GUI and load a graph\n"
-" ingen -egl foo.ingen # Run an engine and a GUI and load a graph")
+ "Ingen is a flexible modular system that be used in various ways.\n"
+ "The engine can run as a stand-alone server controlled via network protocol,\n"
+ "or internal to another process (e.g. the GUI). The GUI, or other clients,\n"
+ "can communicate with the engine via any supported protocol, or run in the\n"
+ "same process. Many clients can connect to an engine at once.\n\n"
+ "Examples:\n"
+ " ingen -e # Run an engine, listen for connections\n"
+ " ingen -g # Run a GUI, connect to running engine\n"
+ " ingen -eg # Run an engine and a GUI in one process\n"
+ " ingen -egl foo.ttl # Run an engine and a GUI and load a graph\n"
+ " ingen -egl foo.ingen # Run an engine and a GUI and load a graph")
, _max_name_length(0)
{
add("clientPort", "client-port", 'C', "Client port", SESSION, forge.Int, Atom());
@@ -97,7 +97,7 @@ Configuration::print_usage(const std::string& program, std::ostream& os)
os << "Options:" << std::endl;
for (auto o : _options) {
Option& option = o.second;
- os << " ";
+ os << " ";
if (option.letter != '\0')
os << "-" << option.letter << ", ";
else
@@ -240,7 +240,7 @@ Configuration::save(URIMap& uri_map,
const std::string dir = Glib::path_get_dirname(path);
if (g_mkdir_with_parents(dir.c_str(), 0755) < 0) {
throw FileError((fmt("Error creating directory %1% (%2%)")
- % dir % strerror(errno)).str());
+ % dir % strerror(errno)).str());
}
// Attempt to open file for writing
@@ -283,7 +283,7 @@ Configuration::save(URIMap& uri_map,
for (auto o : _options) {
const Atom& value = o.second.value;
if (!(o.second.scope & scopes) ||
- o.second.key.empty() ||
+ o.second.key.empty() ||
!value.is_valid()) {
continue;
}
diff --git a/src/bindings/Client.hpp b/src/bindings/Client.hpp
index e2db6644..f277e7f9 100644
--- a/src/bindings/Client.hpp
+++ b/src/bindings/Client.hpp
@@ -24,10 +24,10 @@
class Client : public Ingen::ClientInterface
{
public:
- /** Wrapper for engine->register_client to appease SWIG */
- virtual void subscribe(Ingen::ServerInterface* engine) {
- engine->register_client(this);
- }
+ /** Wrapper for engine->register_client to appease SWIG */
+ virtual void subscribe(Ingen::ServerInterface* engine) {
+ engine->register_client(this);
+ }
void bundle_begin() {}
void bundle_end() {}
diff --git a/src/bindings/ingen_bindings.hpp b/src/bindings/ingen_bindings.hpp
index 90358cd8..b07baae8 100644
--- a/src/bindings/ingen_bindings.hpp
+++ b/src/bindings/ingen_bindings.hpp
@@ -23,8 +23,8 @@ class World;
extern World* ingen_world;
extern "C" {
- bool run(World* world, const char* filename);
- void script_iteration(World* world);
+bool run(World* world, const char* filename);
+void script_iteration(World* world);
}
} // namespace Ingen
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index f5c99e38..d3438f46 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -296,7 +296,7 @@ ClientStore::put(const Raul::URI& uri,
} else {
_log.error(fmt("Port %1% has no index\n") % path);
}
-
+
SPtr<PortModel> p(new PortModel(uris(), path, index, pdir));
p->set_properties(properties);
add_object(p);
@@ -479,4 +479,3 @@ ClientStore::disconnect_all(const Raul::Path& parent_graph,
} // namespace Client
} // namespace Ingen
-
diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp
index 493293a5..764c3b75 100644
--- a/src/client/GraphModel.cpp
+++ b/src/client/GraphModel.cpp
@@ -58,9 +58,9 @@ GraphModel::remove_child(SPtr<ObjectModel> o)
SPtr<ArcModel> arc = dynamic_ptr_cast<ArcModel>(j->second);
if (arc->tail_path().parent() == o->path()
- || arc->tail_path() == o->path()
- || arc->head_path().parent() == o->path()
- || arc->head_path() == o->path()) {
+ || arc->tail_path() == o->path()
+ || arc->head_path().parent() == o->path()
+ || arc->head_path() == o->path()) {
_signal_removed_arc.emit(arc);
_arcs.erase(j); // cuts our reference
}
@@ -123,7 +123,7 @@ GraphModel::add_arc(SPtr<ArcModel> arc)
|| arc->head()->parent()->parent().get() == this);
SPtr<ArcModel> existing = get_arc(
- arc->tail().get(), arc->head().get());
+ arc->tail().get(), arc->head().get());
if (existing) {
assert(arc->tail() == existing->tail());
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 45ac2f37..76ae5080 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -108,4 +108,3 @@ ObjectModel::set_parent(SPtr<ObjectModel> p)
} // namespace Client
} // namespace Ingen
-
diff --git a/src/client/ingen_client.cpp b/src/client/ingen_client.cpp
index 6f873f14..55623b66 100644
--- a/src/client/ingen_client.cpp
+++ b/src/client/ingen_client.cpp
@@ -34,4 +34,3 @@ ingen_module_load()
}
} // extern "C"
-
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 719fe694..3dc08609 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -369,8 +369,8 @@ App::can_control(const Client::PortModel* port) const
return port->is_a(uris().lv2_ControlPort)
|| port->is_a(uris().lv2_CVPort)
|| (port->is_a(uris().atom_AtomPort)
- && (port->supports(uris().atom_Float)
- || port->supports(uris().atom_String)));
+ && (port->supports(uris().atom_Float)
+ || port->supports(uris().atom_String)));
}
uint32_t
@@ -381,4 +381,3 @@ App::sample_rate() const
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/App.hpp b/src/gui/App.hpp
index dbb0465c..4adee828 100644
--- a/src/gui/App.hpp
+++ b/src/gui/App.hpp
@@ -34,20 +34,20 @@
#include "raul/URI.hpp"
namespace Ingen {
- class Interface;
- class Log;
- class Port;
- class World;
- namespace Client {
- class ClientStore;
- class GraphModel;
- class PluginModel;
- class PortModel;
- class SigClientInterface;
- }
- namespace Serialisation {
- class Serialiser;
- }
+class Interface;
+class Log;
+class Port;
+class World;
+namespace Client {
+class ClientStore;
+class GraphModel;
+class PluginModel;
+class PortModel;
+class SigClientInterface;
+}
+namespace Serialisation {
+class Serialiser;
+}
}
namespace Ingen {
@@ -160,4 +160,3 @@ protected:
} // namespace Ingen
#endif // INGEN_GUI_APP_HPP
-
diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp
index 8073f933..6ed0bfca 100644
--- a/src/gui/BreadCrumbs.cpp
+++ b/src/gui/BreadCrumbs.cpp
@@ -34,7 +34,7 @@ BreadCrumbs::BreadCrumbs(App& app)
, _enable_signal(true)
{
app.client()->signal_object_deleted().connect(
- sigc::mem_fun(this, &BreadCrumbs::object_destroyed));
+ sigc::mem_fun(this, &BreadCrumbs::object_destroyed));
set_can_focus(false);
}
@@ -60,8 +60,8 @@ BreadCrumbs::build(Raul::Path path, SPtr<GraphView> view)
bool old_enable_signal = _enable_signal;
_enable_signal = false;
- // Moving to a path we already contain, just switch the active button
if (!_breadcrumbs.empty() && (path.is_parent_of(_full_path) || path == _full_path)) {
+ // Moving to a path we already contain, just switch the active button
for (const auto& b : _breadcrumbs) {
if (b->path() == path) {
b->set_active(true);
@@ -79,8 +79,8 @@ BreadCrumbs::build(Raul::Path path, SPtr<GraphView> view)
_active_path = path;
_enable_signal = old_enable_signal;
- // Moving to a child of the full path, just append crumbs (preserve view cache)
} else if (!_breadcrumbs.empty() && path.is_child_of(_full_path)) {
+ // Moving to a child of the full path, just append crumbs (preserve view cache)
string suffix = path.substr(_full_path.length());
while (suffix.length() > 0) {
@@ -102,9 +102,9 @@ BreadCrumbs::build(Raul::Path path, SPtr<GraphView> view)
b->set_active(false);
_breadcrumbs.back()->set_active(true);
- // Rebuild from scratch
- // Getting here is bad unless absolutely necessary, since the GraphView cache is lost
} else {
+ // Rebuild from scratch
+ // Getting here is bad unless absolutely necessary, since the GraphView cache is lost
_full_path = path;
_active_path = path;
@@ -149,11 +149,14 @@ BreadCrumbs::BreadCrumb*
BreadCrumbs::create_crumb(const Raul::Path& path,
SPtr<GraphView> view)
{
- BreadCrumb* but = manage(new BreadCrumb(path,
- (view && path == view->graph()->path()) ? view : SPtr<GraphView>()));
+ BreadCrumb* but = manage(
+ new BreadCrumb(path,
+ ((view && path == view->graph()->path())
+ ? view : SPtr<GraphView>())));
- but->signal_toggled().connect(sigc::bind(sigc::mem_fun(
- this, &BreadCrumbs::breadcrumb_clicked), but));
+ but->signal_toggled().connect(
+ sigc::bind(sigc::mem_fun(this, &BreadCrumbs::breadcrumb_clicked),
+ but));
return but;
}
@@ -203,4 +206,3 @@ BreadCrumbs::object_moved(const Raul::Path& old_path, const Raul::Path& new_path
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/BreadCrumbs.hpp b/src/gui/BreadCrumbs.hpp
index 933a28dc..235709b4 100644
--- a/src/gui/BreadCrumbs.hpp
+++ b/src/gui/BreadCrumbs.hpp
@@ -99,7 +99,7 @@ private:
};
BreadCrumb* create_crumb(const Raul::Path& path,
- SPtr<GraphView> view = SPtr<GraphView>());
+ SPtr<GraphView> view = SPtr<GraphView>());
void breadcrumb_clicked(BreadCrumb* crumb);
diff --git a/src/gui/GraphCanvas.hpp b/src/gui/GraphCanvas.hpp
index 47d267d2..f076e919 100644
--- a/src/gui/GraphCanvas.hpp
+++ b/src/gui/GraphCanvas.hpp
@@ -100,7 +100,7 @@ private:
void build_menus();
- void auto_menu_position(int& x, int& y, bool& push_in);
+ void auto_menu_position(int& x, int& y, bool& push_in);
typedef std::multimap<const std::string, const LilvPluginClass*> LV2Children;
diff --git a/src/gui/GraphPortModule.cpp b/src/gui/GraphPortModule.cpp
index 3c9004e3..dc781a35 100644
--- a/src/gui/GraphPortModule.cpp
+++ b/src/gui/GraphPortModule.cpp
@@ -55,7 +55,7 @@ GraphPortModule::GraphPortModule(GraphCanvas& canvas,
set_stacked(model->polyphonic());
if (model->is_input() && !model->is_numeric()) {
set_is_source(true);
- }
+ }
model->signal_property().connect(
sigc::mem_fun(this, &GraphPortModule::property_changed));
diff --git a/src/gui/GraphPortModule.hpp b/src/gui/GraphPortModule.hpp
index f9292363..5cffa7bc 100644
--- a/src/gui/GraphPortModule.hpp
+++ b/src/gui/GraphPortModule.hpp
@@ -27,7 +27,7 @@
namespace Raul { class Atom; }
namespace Ingen { namespace Client {
- class PortModel;
+class PortModel;
} }
namespace Ingen {
diff --git a/src/gui/GraphTreeWindow.cpp b/src/gui/GraphTreeWindow.cpp
index 7ebb405d..ae4e522d 100644
--- a/src/gui/GraphTreeWindow.cpp
+++ b/src/gui/GraphTreeWindow.cpp
@@ -43,10 +43,10 @@ GraphTreeWindow::GraphTreeWindow(BaseObjectType* cobject,
_graph_treestore = Gtk::TreeStore::create(_graph_tree_columns);
_graphs_treeview->set_window(this);
_graphs_treeview->set_model(_graph_treestore);
- Gtk::TreeViewColumn* name_col = Gtk::manage(new Gtk::TreeViewColumn(
- "Graph", _graph_tree_columns.name_col));
- Gtk::TreeViewColumn* enabled_col = Gtk::manage(new Gtk::TreeViewColumn(
- "Run", _graph_tree_columns.enabled_col));
+ Gtk::TreeViewColumn* name_col = Gtk::manage(
+ new Gtk::TreeViewColumn("Graph", _graph_tree_columns.name_col));
+ Gtk::TreeViewColumn* enabled_col = Gtk::manage(
+ new Gtk::TreeViewColumn("Run", _graph_tree_columns.enabled_col));
name_col->set_resizable(true);
name_col->set_expand(true);
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp
index 3a4f465d..67f6304c 100644
--- a/src/gui/GraphTreeWindow.hpp
+++ b/src/gui/GraphTreeWindow.hpp
@@ -66,8 +66,8 @@ protected:
void event_graph_enabled_toggled(const Glib::ustring& path_str);
Gtk::TreeModel::iterator find_graph(
- Gtk::TreeModel::Children root,
- SPtr<Client::ObjectModel> graph);
+ Gtk::TreeModel::Children root,
+ SPtr<Client::ObjectModel> graph);
GraphTreeView* _graphs_treeview;
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp
index 7b2e9842..414f21f9 100644
--- a/src/gui/GraphView.cpp
+++ b/src/gui/GraphView.cpp
@@ -95,7 +95,7 @@ GraphView::set_graph(SPtr<const GraphModel> graph)
sigc::mem_fun(this, &GraphView::refresh_clicked));
_poly_spin->signal_value_changed().connect(
- sigc::mem_fun(*this, &GraphView::poly_changed));
+ sigc::mem_fun(*this, &GraphView::poly_changed));
_canvas->widget().grab_focus();
}
diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp
index b052028c..f0524673 100644
--- a/src/gui/GraphView.hpp
+++ b/src/gui/GraphView.hpp
@@ -34,10 +34,10 @@ namespace Raul { class Atom; }
namespace Ingen {
namespace Client {
- class PortModel;
- class MetadataModel;
- class GraphModel;
- class ObjectModel;
+class PortModel;
+class MetadataModel;
+class GraphModel;
+class ObjectModel;
}
namespace GUI {
diff --git a/src/gui/GraphWindow.hpp b/src/gui/GraphWindow.hpp
index 46126589..593ef048 100644
--- a/src/gui/GraphWindow.hpp
+++ b/src/gui/GraphWindow.hpp
@@ -29,7 +29,7 @@
namespace Ingen {
namespace Client {
- class GraphModel;
+class GraphModel;
}
namespace GUI {
diff --git a/src/gui/LoadGraphWindow.cpp b/src/gui/LoadGraphWindow.cpp
index babfb632..064b728e 100644
--- a/src/gui/LoadGraphWindow.cpp
+++ b/src/gui/LoadGraphWindow.cpp
@@ -60,22 +60,22 @@ LoadGraphWindow::LoadGraphWindow(BaseObjectType* cobject,
xml->get_widget("load_graph_cancel_button", _cancel_button);
_cancel_button->signal_clicked().connect(
- sigc::mem_fun(this, &LoadGraphWindow::cancel_clicked));
+ sigc::mem_fun(this, &LoadGraphWindow::cancel_clicked));
_ok_button->signal_clicked().connect(
- sigc::mem_fun(this, &LoadGraphWindow::ok_clicked));
+ sigc::mem_fun(this, &LoadGraphWindow::ok_clicked));
_merge_ports_radio->signal_toggled().connect(
- sigc::mem_fun(this, &LoadGraphWindow::merge_ports_selected));
+ sigc::mem_fun(this, &LoadGraphWindow::merge_ports_selected));
_insert_ports_radio->signal_toggled().connect(
- sigc::mem_fun(this, &LoadGraphWindow::insert_ports_selected));
- _poly_from_file_radio->signal_toggled().connect(sigc::bind(
- sigc::mem_fun(_poly_spinbutton, &Gtk::SpinButton::set_sensitive),
- false));
- _poly_voices_radio->signal_toggled().connect(sigc::bind(
- sigc::mem_fun(_poly_spinbutton, &Gtk::SpinButton::set_sensitive),
- true));
+ sigc::mem_fun(this, &LoadGraphWindow::insert_ports_selected));
+ _poly_from_file_radio->signal_toggled().connect(
+ sigc::bind(sigc::mem_fun(_poly_spinbutton, &Gtk::SpinButton::set_sensitive),
+ false));
+ _poly_voices_radio->signal_toggled().connect(
+ sigc::bind(sigc::mem_fun(_poly_spinbutton, &Gtk::SpinButton::set_sensitive),
+ true));
signal_selection_changed().connect(
- sigc::mem_fun(this, &LoadGraphWindow::selection_changed));
+ sigc::mem_fun(this, &LoadGraphWindow::selection_changed));
Gtk::FileFilter filt;
filt.add_pattern("*.ttl");
@@ -172,8 +172,8 @@ LoadGraphWindow::ok_clicked()
symbol = _graph->symbol();
}
- _app->loader()->load_graph(true, get_filename(),
- parent, symbol, _initial_data);
+ _app->loader()->load_graph(
+ true, get_filename(), parent, symbol, _initial_data);
} else {
std::list<Glib::ustring> uri_list = get_filenames();
@@ -190,8 +190,8 @@ LoadGraphWindow::ok_clicked()
symbol = avoid_symbol_clash(symbol);
- _app->loader()->load_graph(false, u,
- _graph->path(), symbol, _initial_data);
+ _app->loader()->load_graph(
+ false, u, _graph->path(), symbol, _initial_data);
}
}
@@ -222,7 +222,7 @@ Raul::Symbol
LoadGraphWindow::avoid_symbol_clash(const Raul::Symbol& symbol)
{
unsigned offset = _app->store()->child_name_offset(
- _graph->path(), symbol);
+ _graph->path(), symbol);
if (offset != 0) {
std::stringstream ss;
@@ -243,8 +243,8 @@ LoadGraphWindow::selection_changed()
_symbol_entry->set_text("");
_symbol_entry->set_sensitive(false);
} else {
- _symbol_entry->set_text(avoid_symbol_clash(
- symbol_from_filename(get_filename())).c_str());
+ _symbol_entry->set_text(
+ avoid_symbol_clash(symbol_from_filename(get_filename())).c_str());
_symbol_entry->set_sensitive(true);
}
}
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp
index 018856fe..fd8a8868 100644
--- a/src/gui/LoadPluginWindow.cpp
+++ b/src/gui/LoadPluginWindow.cpp
@@ -510,4 +510,3 @@ LoadPluginWindow::plugin_property_changed(const Raul::URI& plugin,
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index de744226..ed764904 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -54,8 +54,8 @@ NodeMenu::init(App& app, SPtr<const Client::BlockModel> block)
{
ObjectMenu::init(app, block);
- _learn_menuitem->signal_activate().connect(sigc::mem_fun(this,
- &NodeMenu::on_menu_learn));
+ _learn_menuitem->signal_activate().connect(
+ sigc::mem_fun(this, &NodeMenu::on_menu_learn));
_popup_gui_menuitem->signal_activate().connect(
sigc::mem_fun(signal_popup_gui, &sigc::signal<void>::emit));
_embed_gui_menuitem->signal_toggled().connect(
@@ -132,7 +132,7 @@ NodeMenu::init(App& app, SPtr<const Client::BlockModel> block)
_randomize_menuitem->hide();
if (plugin && (plugin->uri() == "http://drobilla.net/ns/ingen-internals#Controller"
- || plugin->uri() == "http://drobilla.net/ns/ingen-internals#Trigger"))
+ || plugin->uri() == "http://drobilla.net/ns/ingen-internals#Trigger"))
_learn_menuitem->show();
else
_learn_menuitem->hide();
@@ -188,7 +188,7 @@ set_port_value(const char* port_symbol,
fmt("Preset with invalid port symbol `%1'\n") % port_symbol);
return;
}
-
+
menu->app()->interface()->set_property(
Node::path_to_uri(block->path().child(Raul::Symbol(port_symbol))),
menu->app()->uris().ingen_value,
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index cd801a05..aa2b543c 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -153,7 +153,7 @@ NodeModule::show_human_names(bool b)
label = name_property.ptr<char>();
} else {
Glib::ustring hn = block()->plugin_model()->port_human_name(
- port->model()->index());
+ port->model()->index());
if (!hn.empty())
label = hn;
}
@@ -326,7 +326,7 @@ NodeModule::popup_gui()
set_control_values();
_gui_window->signal_unmap().connect(
- sigc::mem_fun(this, &NodeModule::on_gui_window_close));
+ sigc::mem_fun(this, &NodeModule::on_gui_window_close));
_gui_window->present();
return true;
diff --git a/src/gui/NodeModule.hpp b/src/gui/NodeModule.hpp
index e38859ef..e163735e 100644
--- a/src/gui/NodeModule.hpp
+++ b/src/gui/NodeModule.hpp
@@ -25,9 +25,9 @@
namespace Raul { class Atom; }
namespace Ingen { namespace Client {
- class BlockModel;
- class PluginUI;
- class PortModel;
+class BlockModel;
+class PluginUI;
+class PortModel;
} }
namespace Ingen {
diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp
index f19913ac..8432e7b7 100644
--- a/src/gui/ObjectMenu.cpp
+++ b/src/gui/ObjectMenu.cpp
@@ -57,28 +57,28 @@ ObjectMenu::init(App& app, SPtr<const ObjectModel> object)
_object = object;
_polyphonic_menuitem->signal_toggled().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_polyphonic));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_polyphonic));
_polyphonic_menuitem->set_active(object->polyphonic());
_learn_menuitem->signal_activate().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_learn));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_learn));
_unlearn_menuitem->signal_activate().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_unlearn));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_unlearn));
_disconnect_menuitem->signal_activate().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_disconnect));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_disconnect));
- _rename_menuitem->signal_activate().connect(sigc::bind(
- sigc::mem_fun(_app->window_factory(), &WindowFactory::present_rename),
- object));
+ _rename_menuitem->signal_activate().connect(
+ sigc::bind(sigc::mem_fun(_app->window_factory(), &WindowFactory::present_rename),
+ object));
_destroy_menuitem->signal_activate().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_destroy));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_destroy));
_properties_menuitem->signal_activate().connect(
- sigc::mem_fun(this, &ObjectMenu::on_menu_properties));
+ sigc::mem_fun(this, &ObjectMenu::on_menu_properties));
object->signal_property().connect(sigc::mem_fun(this, &ObjectMenu::property_changed));
@@ -140,4 +140,3 @@ ObjectMenu::on_menu_properties()
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/PluginMenu.hpp b/src/gui/PluginMenu.hpp
index 54624104..da75ef0b 100644
--- a/src/gui/PluginMenu.hpp
+++ b/src/gui/PluginMenu.hpp
@@ -35,7 +35,7 @@ namespace GUI {
/**
Type-hierarchical plugin menu.
-
+
@ingroup GUI
*/
class PluginMenu : public Gtk::Menu
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 3357a553..31850120 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -73,8 +73,8 @@ Port::Port(App& app,
const string& name,
bool flip)
: Ganv::Port(module, name,
- flip ? (!pm->is_input()) : pm->is_input(),
- app.style()->get_port_color(pm.get()))
+ flip ? (!pm->is_input()) : pm->is_input(),
+ app.style()->get_port_color(pm.get()))
, _app(app)
, _port_model(pm)
, _entered(false)
@@ -109,7 +109,7 @@ Port::Port(App& app,
sigc::mem_fun(this, &Port::on_event));
set_is_controllable(pm->is_numeric() && pm->is_input());
-
+
update_metadata();
value_changed(pm->value());
}
@@ -341,8 +341,8 @@ rgba_interpolate(uint32_t c1, uint32_t c2, float f)
{
return rgba_to_uint(
mono_interpolate(RGBA_R(c1), RGBA_R(c2), f),
- mono_interpolate(RGBA_G(c1), RGBA_G(c2), f),
- mono_interpolate(RGBA_B(c1), RGBA_B(c2), f),
+ mono_interpolate(RGBA_G(c1), RGBA_G(c2), f),
+ mono_interpolate(RGBA_B(c1), RGBA_B(c2), f),
mono_interpolate(RGBA_A(c1), RGBA_A(c2), f));
}
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp
index 138ee397..d1d1a923 100644
--- a/src/gui/PortMenu.cpp
+++ b/src/gui/PortMenu.cpp
@@ -91,10 +91,10 @@ PortMenu::on_menu_disconnect()
{
if (_is_graph_port) {
_app->interface()->disconnect_all(
- _object->parent()->path(), _object->path());
+ _object->parent()->path(), _object->path());
} else {
_app->interface()->disconnect_all(
- _object->parent()->path().parent(), _object->path());
+ _object->parent()->path().parent(), _object->path());
}
}
@@ -165,4 +165,3 @@ PortMenu::on_menu_expose()
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp
index 2db38c8e..f6524e77 100644
--- a/src/gui/PropertiesWindow.cpp
+++ b/src/gui/PropertiesWindow.cpp
@@ -211,9 +211,9 @@ PropertiesWindow::set_object(SPtr<const ObjectModel> model)
_table->show_all();
_property_connection = model->signal_property().connect(
- sigc::mem_fun(this, &PropertiesWindow::property_changed));
+ sigc::mem_fun(this, &PropertiesWindow::property_changed));
_property_removed_connection = model->signal_property_removed().connect(
- sigc::mem_fun(this, &PropertiesWindow::property_removed));
+ sigc::mem_fun(this, &PropertiesWindow::property_removed));
}
Gtk::Widget*
@@ -226,9 +226,9 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value)
widget->set_range(INT_MIN, INT_MAX);
widget->set_increments(1, 10);
widget->set_value(value.get<int32_t>());
- widget->signal_value_changed().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_value_changed().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
} else if (value.type() == forge.Float) {
Gtk::SpinButton* widget = manage(new Gtk::SpinButton(0.0, 4));
@@ -237,23 +237,23 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value)
widget->set_range(-FLT_MAX, FLT_MAX);
widget->set_value(value.get<float>());
widget->set_increments(0.1, 1.0);
- widget->signal_value_changed().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_value_changed().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
} else if (value.type() == forge.Bool) {
Gtk::CheckButton* widget = manage(new Gtk::CheckButton());
widget->set_active(value.get<int32_t>());
- widget->signal_toggled().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_toggled().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
} else if (value.type() == forge.URI) {
Gtk::Entry* widget = manage(new Gtk::Entry());
widget->set_text(value.ptr<char>());
- widget->signal_changed().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_changed().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
} else if (value.type() == forge.URID) {
const char* val_uri = _app->world()->uri_map().unmap_uri(value.get<int32_t>());
@@ -261,16 +261,16 @@ PropertiesWindow::create_value_widget(const Raul::URI& uri, const Atom& value)
if (val_uri) {
widget->set_text(val_uri);
}
- widget->signal_changed().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_changed().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
} else if (value.type() == forge.String) {
Gtk::Entry* widget = manage(new Gtk::Entry());
widget->set_text(value.ptr<char>());
- widget->signal_changed().connect(sigc::bind(
- sigc::mem_fun(this, &PropertiesWindow::value_edited),
- uri));
+ widget->signal_changed().connect(
+ sigc::bind(sigc::mem_fun(this, &PropertiesWindow::value_edited),
+ uri));
return widget;
}
diff --git a/src/gui/Style.hpp b/src/gui/Style.hpp
index e871e3fa..13fa0546 100644
--- a/src/gui/Style.hpp
+++ b/src/gui/Style.hpp
@@ -56,4 +56,3 @@ private:
} // namespace Ingen
#endif // INGEN_GUI_STYLE_HPP
-
diff --git a/src/gui/SubgraphModule.cpp b/src/gui/SubgraphModule.cpp
index 295d3d16..c299eccc 100644
--- a/src/gui/SubgraphModule.cpp
+++ b/src/gui/SubgraphModule.cpp
@@ -52,8 +52,8 @@ SubgraphModule::on_double_click(GdkEventButton* event)
SPtr<GraphModel> parent = dynamic_ptr_cast<GraphModel>(_graph->parent());
GraphWindow* const preferred = ( (parent && (event->state & GDK_SHIFT_MASK))
- ? NULL
- : app().window_factory()->graph_window(parent) );
+ ? NULL
+ : app().window_factory()->graph_window(parent) );
app().window_factory()->present_graph(_graph, preferred);
return true;
diff --git a/src/gui/SubgraphModule.hpp b/src/gui/SubgraphModule.hpp
index a439c324..7235d93a 100644
--- a/src/gui/SubgraphModule.hpp
+++ b/src/gui/SubgraphModule.hpp
@@ -23,9 +23,9 @@
#include "GraphPortModule.hpp"
namespace Ingen { namespace Client {
- class GraphModel;
- class GraphWindow;
- class PortModel;
+class GraphModel;
+class GraphWindow;
+class PortModel;
} }
namespace Ingen {
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp
index 5c33c1de..3dffa7f9 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -113,9 +113,10 @@ ThreadedLoader::save_graph(SPtr<const Client::GraphModel> model,
{
_mutex.lock();
- _events.push_back(sigc::hide_return(sigc::bind(
- sigc::mem_fun(this, &ThreadedLoader::save_graph_event),
- model, filename)));
+ _events.push_back(
+ sigc::hide_return(
+ sigc::bind(sigc::mem_fun(this, &ThreadedLoader::save_graph_event),
+ model, filename)));
_mutex.unlock();
_sem.post();
diff --git a/src/gui/ThreadedLoader.hpp b/src/gui/ThreadedLoader.hpp
index 7f4de063..68f6a3f1 100644
--- a/src/gui/ThreadedLoader.hpp
+++ b/src/gui/ThreadedLoader.hpp
@@ -54,10 +54,10 @@ public:
~ThreadedLoader();
void load_graph(bool merge,
- const Glib::ustring& document_uri,
+ const Glib::ustring& document_uri,
boost::optional<Raul::Path> engine_parent,
- boost::optional<Raul::Symbol> engine_symbol,
- boost::optional<Node::Properties> engine_data);
+ boost::optional<Raul::Symbol> engine_symbol,
+ boost::optional<Node::Properties> engine_data);
void save_graph(SPtr<const Client::GraphModel> model,
const std::string& filename);
diff --git a/src/gui/Window.cpp b/src/gui/Window.cpp
index 52df075e..2c4ee0e4 100644
--- a/src/gui/Window.cpp
+++ b/src/gui/Window.cpp
@@ -33,4 +33,3 @@ Window::key_press_handler(Gtk::Window* win, GdkEventKey* event)
} // namespace GUI
} // namespace Ingen
-
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp
index f8738f40..66038776 100644
--- a/src/gui/WindowFactory.cpp
+++ b/src/gui/WindowFactory.cpp
@@ -162,8 +162,9 @@ WindowFactory::new_graph_window(SPtr<const GraphModel> graph,
win->box()->set_graph(graph, view);
_graph_windows[graph->path()] = win;
- win->signal_delete_event().connect(sigc::bind<0>(
- sigc::mem_fun(this, &WindowFactory::remove_graph_window), win));
+ win->signal_delete_event().connect(
+ sigc::bind<0>(sigc::mem_fun(this, &WindowFactory::remove_graph_window),
+ win));
return win;
}
diff --git a/src/gui/ingen_gui.cpp b/src/gui/ingen_gui.cpp
index d8dc59ab..662d4682 100644
--- a/src/gui/ingen_gui.cpp
+++ b/src/gui/ingen_gui.cpp
@@ -43,4 +43,3 @@ ingen_module_load()
}
} // extern "C"
-
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 3c3ebdcf..6e058414 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -106,20 +106,20 @@ main(int argc, char** argv)
engine_interface = world->interface();
- #ifdef HAVE_SOCKET
+#ifdef HAVE_SOCKET
ingen_try(world->load_module("socket_server"),
"Unable to load socket server module");
- #endif
+#endif
}
// If we don't have a local engine interface (for GUI), use network
if (!engine_interface) {
ingen_try(world->load_module("client"),
"Unable to load client module");
- #ifdef HAVE_SOCKET
+#ifdef HAVE_SOCKET
ingen_try(world->load_module("socket_client"),
"Unable to load socket client module");
- #endif
+#endif
const char* const uri = conf.option("connect").ptr<char>();
ingen_try(Raul::URI::is_valid(uri),
(fmt("Invalid URI <%1%>") % uri).str().c_str());
@@ -170,9 +170,9 @@ main(int argc, char** argv)
ingen_try(bool(world->parser()), "Unable to create parser");
- const string path = conf.option("load").is_valid() ?
- conf.option("load").ptr<char>() :
- conf.files().front();
+ const string path = (conf.option("load").is_valid()
+ ? conf.option("load").ptr<char>()
+ : conf.files().front());
engine_interface->get(Raul::URI("ingen:/plugins"));
engine_interface->get(Node::root_uri());
@@ -216,4 +216,3 @@ main(int argc, char** argv)
return 0;
}
-
diff --git a/src/runtime_paths.cpp b/src/runtime_paths.cpp
index 8b12f500..6bc92fa1 100644
--- a/src/runtime_paths.cpp
+++ b/src/runtime_paths.cpp
@@ -107,4 +107,3 @@ module_path(const std::string& name, std::string dir)
}
} // namespace Ingen
-
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index d49ac9a6..e6e3f2c9 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -226,11 +226,11 @@ parse_properties(
static bool
parse_arcs(
- World* world,
- Interface* target,
- Sord::Model& model,
- const Sord::Node& subject,
- const Raul::Path& graph);
+ World* world,
+ Interface* target,
+ Sord::Model& model,
+ const Sord::Node& subject,
+ const Raul::Path& graph);
static boost::optional<Raul::Path>
parse_block(Ingen::World* world,
@@ -647,4 +647,3 @@ Parser::parse_string(Ingen::World* world,
} // namespace Serialisation
} // namespace Ingen
-
diff --git a/src/serialisation/serialisation.cpp b/src/serialisation/serialisation.cpp
index 65f11090..b335845e 100644
--- a/src/serialisation/serialisation.cpp
+++ b/src/serialisation/serialisation.cpp
@@ -24,9 +24,11 @@ using namespace Ingen;
struct IngenSerialisationModule : public Ingen::Module {
virtual void load(Ingen::World* world) {
- world->set_parser(SPtr<Serialisation::Parser>(
+ world->set_parser(
+ SPtr<Serialisation::Parser>(
new Serialisation::Parser()));
- world->set_serialiser(SPtr<Serialisation::Serialiser>(
+ world->set_serialiser(
+ SPtr<Serialisation::Serialiser>(
new Serialisation::Serialiser(*world)));
}
};
@@ -39,4 +41,3 @@ ingen_module_load() {
}
} // extern "C"
-
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
-