Don't allow to add/remove monitor-section w/o engine
authorRobin Gareus <robin@gareus.org>
Mon, 26 Nov 2018 02:06:22 +0000 (03:06 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 26 Nov 2018 02:15:14 +0000 (03:15 +0100)
commitae2a6175ccfac70ce091eda54af85de593ad4048
treeac8a420c6b3b8c23aa43a12d3673666478734a69
parent13c984c216e1f6e85c29561d4c0ee9599fc512e5
Don't allow to add/remove monitor-section w/o engine

Adding/removing the Monitor section changes port-connections,
a port-engine is needed to establish connections.

Ideally we'd allow this and queue for connection changes. This
will however require deep changes.

Also toggling the monitor-section on/off/on w/o engine can later
result in failure to register ports. Due to lack of engine-signals
not all shared_ptr<> port references are dropped.
libs/ardour/session.cc