more plugin state debugging
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 16 Jul 2013 00:35:31 +0000 (20:35 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 16 Jul 2013 00:43:44 +0000 (20:43 -0400)
libs/ardour/route.cc

index 9d7dc8792b17ee7b5e9e4ad9614206eb2919b94f..d48fbeff9686dafc9944aef03132a4ce81659f4a 100644 (file)
@@ -2559,12 +2559,15 @@ Route::set_processor_state (const XMLNode& node)
                                }
 
                                if (boost::dynamic_pointer_cast<PluginInsert>(processor)) {     
+                                       cerr << "Working on plugin processor state for " << processor->name() << endl;
 #ifndef NO_PLUGIN_STATE
+                                       cerr << "plugin state allowed\n";
                                        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
+                                       cerr << "plugin state dis-allowed\n";
                                        /* plugin, with NO_PLUGIN_STATE defined
                                         * =>::set_state() not allowed. Do not
                                         * display a message here - things will