Files
ardour/libs
Robin Gareus b40826792a Fix port-connection callbacks on engine restart
When the engine is restarted, ports are re-established,
and previously queued port-connections need to be cleared.

This caused a bug:
 * when the engine is stopped all ports are disconnected.
   _port_connection_queue contains all disconnections
 * engine is stopped so _port_connection_queue is not processed
 * engine-restart re-etablishes ports and appends those connections
   to _port_connection_queue
 * process-callback processes the list in **reverse** order
```
   while (!_port_connection_queue.empty ()) {
      _port_connection_queue.pop_back ();
   }
```
 * ARDOUR::PortManager::connect_callback() is first called
   with connected() and the disconnected()
 * All ports are assumed to not be connected
   Port::_externally_connected == 0 for all ports

Result:

 * vari-speed playback resampling does not work (only external
   I/O is reampled), split cycles processing (looping) fails
   since AudioPort::get_audio_buffer() does not apply the
   _global_port_buffer_offset
2020-09-05 23:06:00 +02:00
..
2020-07-09 02:10:28 +02:00
2020-08-31 07:39:45 +02:00
2020-07-06 20:28:02 +02:00
2020-03-02 17:58:03 +01:00
2020-03-23 17:38:08 +01:00
2020-01-22 02:00:25 +01:00
2019-09-03 05:01:59 +02:00
2020-03-29 14:56:22 +02:00