diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-10-20 16:34:06 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-10-20 16:34:52 -0400 |
commit | 235c1f9adbadc874b0c8b6a23b54af5942bc0e04 (patch) | |
tree | dbc2bc4d64257bde53efbb646a3d9bdfb4da3d9b /libs/ardour/audioengine.cc | |
parent | b85ca20123647fbff6eac6405019fd4873f6764e (diff) |
infrastructure for save/restore of MIDI port user-provided information
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 94533c54dc..caca89f300 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -891,6 +891,10 @@ AudioEngine::start (bool for_latency) } + /* XXX MIDI ports may not actually be available here yet .. */ + + PortManager::fill_midi_port_info (); + if (!for_latency) { Running(); /* EMIT SIGNAL */ } @@ -917,7 +921,7 @@ AudioEngine::stop (bool for_latency) stop_engine = false; } else { if (_backend->stop ()) { - if (pl.locked ()) { + if (pl.locked ()) { pl.release (); } return -1; @@ -1495,4 +1499,3 @@ AudioEngine::add_pending_port_deletion (Port* p) delete p; } } - |