summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-24 03:18:02 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-24 03:18:02 +0000
commit3cbb05cbe97f517288700cff9fd35cfce8389288 (patch)
tree8b65cc8f6d68e05d7dacebb0d4d5134fbe7f9682 /libs
parent954b022e19a4aca04a9ef48957e46beae856b044 (diff)
move the point at which PannersLegal is emitted (thus resetting panners). It used to done during Session::hookup_io() which seems wrong, since ports and all that already exist. now moved to before the point at which we call ControlProtocolManager::set_session() so that control protocols see Routes with Panners already set up
git-svn-id: svn://localhost/ardour2/branches/3.0@12072 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 80dbd98963..3f3b6eb001 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -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 */