summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-17 08:05:59 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-17 08:05:59 -0400
commit650964f3203319b013c49a286b5fc5fc203f3bbb (patch)
tree60b2f879d4ed634f9420a737886086db5eb31f78 /libs/ardour/route.cc
parent9cbe231b920d92a2e44e08962a3ed6870b962f34 (diff)
parent780397d0ccf8df54eeb78c88eebbaab0c2745029 (diff)
Merge branch 'master' into windows
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index c6f588a79c..797481b7b8 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2562,21 +2562,10 @@ Route::set_processor_state (const XMLNode& node)
continue;
}
-#ifndef NO_PLUGIN_STATE
if (processor->set_state (**niter, Stateful::current_state_version) != 0) {
/* This processor could not be configured. Turn it into a UnknownProcessor */
processor.reset (new UnknownProcessor (_session, **niter));
}
-#else
- if (boost::dynamic_pointer_cast<PluginInsert>(processor)) {
- if (processor->set_state (**niter, Stateful::current_state_version) != 0) {
- /* This processor could not be configured. Turn it into a UnknownProcessor */
- processor.reset (new UnknownProcessor (_session, **niter));
- }
- } else {
- /* plugin, but ::set_state() not * allowed no message here - things will get too verbose */
- }
-#endif
/* we have to note the monitor send here, otherwise a new one will be created
and the state of this one will be lost.