From 05bcdd1d4c583c68ed977164913ff47e94df7adb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Jun 2007 20:23:48 +0000 Subject: Renamed Insert to Processor and Redirect to IOProcessor. git-svn-id: svn://localhost/ardour2/trunk@2071 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/plugin_insert.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libs/ardour/plugin_insert.cc') diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 1b0130fc37..0ec5dde0db 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -53,7 +53,7 @@ using namespace PBD; const string PluginInsert::port_automation_node_name = "PortAutomation"; PluginInsert::PluginInsert (Session& s, boost::shared_ptr plug, Placement placement) - : Insert (s, plug->name(), placement) + : Processor (s, plug->name(), placement) { /* the first is the master */ @@ -68,11 +68,11 @@ PluginInsert::PluginInsert (Session& s, boost::shared_ptr plug, Placemen IO::MoreChannels (max(input_streams(), output_streams())); } - InsertCreated (this); /* EMIT SIGNAL */ + ProcessorCreated (this); /* EMIT SIGNAL */ } PluginInsert::PluginInsert (Session& s, const XMLNode& node) - : Insert (s, "unnamed plugin insert", PreFader) + : Processor (s, "unnamed plugin insert", PreFader) { if (set_state (node)) { throw failed_constructor(); @@ -89,7 +89,7 @@ PluginInsert::PluginInsert (Session& s, const XMLNode& node) } PluginInsert::PluginInsert (const PluginInsert& other) - : Insert (other._session, other._name, other.placement()) + : Processor (other._session, other._name, other.placement()) { uint32_t count = other._plugins.size(); @@ -103,7 +103,7 @@ PluginInsert::PluginInsert (const PluginInsert& other) init (); - InsertCreated (this); /* EMIT SIGNAL */ + ProcessorCreated (this); /* EMIT SIGNAL */ } bool @@ -496,7 +496,7 @@ PluginInsert::configure_io (ChanCount in, ChanCount out) } else { bool success = set_count (count_for_configuration(in, out)); if (success) - Insert::configure_io(in, out); + Processor::configure_io(in, out); return success; } } @@ -634,7 +634,7 @@ XMLNode& PluginInsert::state (bool full) { char buf[256]; - XMLNode& node = Insert::state (full); + XMLNode& node = Processor::state (full); node.add_property ("type", _plugins[0]->state_node_name()); snprintf(buf, sizeof(buf), "%s", _plugins[0]->name()); @@ -745,15 +745,15 @@ PluginInsert::set_state(const XMLNode& node) const XMLNode* insert_node = &node; - // legacy sessions: search for child Redirect node + // legacy sessions: search for child IOProcessor node for (niter = nlist.begin(); niter != nlist.end(); ++niter) { - if ((*niter)->name() == "Redirect") { + if ((*niter)->name() == "IOProcessor") { insert_node = *niter; break; } } - Insert::set_state (*insert_node); + Processor::set_state (*insert_node); /* look for port automation node */ -- cgit v1.2.3