first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor...
[ardour.git] / libs / ardour / processor.cc
index e3a2b0b15ef5caf361e821d6f5326be75d5b4546..101bc29ab44b887b1348625c30311c445801514a 100644 (file)
@@ -65,6 +65,7 @@ const string Processor::state_node_name = "Processor";
 Processor::Processor(Session& session, const string& name)
        : SessionObject(session, name)
        , AutomatableControls(session)
+       , _pending_active(false)
        , _active(false)
        , _next_ab_is_active(false)
        , _configured(false)
@@ -75,12 +76,14 @@ Processor::Processor(Session& session, const string& name)
 Processor::Processor (Session& session, const XMLNode& node)
        : SessionObject(session, "renameMe")
        , AutomatableControls(session)
+       , _pending_active(false)
        , _active(false)
        , _next_ab_is_active(false)
        , _configured(false)
        , _gui(0)
 {
        set_state (node);
+       _pending_active = _active;
 }
 
 XMLNode&
@@ -229,6 +232,8 @@ Processor::configure_io (ChanCount in, ChanCount out)
        _configured_output = out; 
        _configured = true;
 
+       std::cerr << "******* CONF IN for " << _name << " set to " << in << std::endl;
+
        ConfigurationChanged.emit (in, out);
 
        return true;