Add new static Session signal will be emitted after port reconnection on session load.
This commit is contained in:
parent
79330f909e
commit
f3481df9d4
|
@ -891,6 +891,13 @@ public:
|
|||
*/
|
||||
static PBD::Signal0<int> AskAboutPendingState;
|
||||
|
||||
/** after loading a session, once all ports have been created and connected
|
||||
* signal is emitted to let objects that need to do some housekeeping
|
||||
* post-connect.
|
||||
*/
|
||||
|
||||
static PBD::Signal0<void> AfterConnect;
|
||||
|
||||
boost::shared_ptr<AudioFileSource> create_audio_source_for_session (
|
||||
size_t, std::string const &, uint32_t);
|
||||
|
||||
|
|
|
@ -1341,6 +1341,7 @@ Session::hookup_io ()
|
|||
|
||||
AudioEngine::instance()->reconnect_ports ();
|
||||
TransportMasterManager::instance().reconnect_ports ();
|
||||
AfterConnect (); /* EMIT SIGNAL */
|
||||
|
||||
/* Anyone who cares about input state, wake up and do something */
|
||||
|
||||
|
|
Loading…
Reference in New Issue