move the point at which PannersLegal is emitted (thus resetting panners). It used...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Apr 2012 03:18:02 +0000 (03:18 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Apr 2012 03:18:02 +0000 (03:18 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12072 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session.cc

index 80dbd989639dfd3d9580e86a2a4bcf97d745be88..3f3b6eb001c3c10350713eed7c3cb5417bea435b 100644 (file)
@@ -538,6 +538,10 @@ Session::when_engine_running ()
 
        BootMessage (_("Setup signal flow and plugins"));
 
+/* Reset all panners */
+
+       Delivery::reset_panners ();
+
        /* this will cause the CPM to instantiate any protocols that are in use
         * (or mandatory), which will pass it this Session, and then call
         * set_state() on each instantiated protocol to match stored state.
@@ -840,10 +844,6 @@ Session::hookup_io ()
        IO::enable_connecting ();
        MIDI::JackMIDIPort::MakeConnections ();
 
-       /* Now reset all panners */
-
-       Delivery::reset_panners ();
-
        /* Anyone who cares about input state, wake up and do something */
 
        IOConnectionsComplete (); /* EMIT SIGNAL */