13
0
Go to file
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
doc
gtk2_ardour Fix null pointer dereference in bundle-manager #8331 2020-09-04 22:48:11 +02:00
headless
libs Fix port-connection callbacks on engine restart 2020-09-05 23:06:00 +02:00
luasession
msvc_extra_headers
MSVCardour3
MSVCMixbus3
MSVCvst_scan
nutemp
session_utils Fix --no-nls, i18n include order in UI -- #8361 2020-08-19 17:40:02 +02:00
share Show plugin-author in plugin-list script 2020-09-05 00:29:51 +02:00
tools Only ask about Harrison LV2s when they're present 2020-08-21 21:28:56 +02:00
vst
.dir-locals.el
.gitattributes
.gitignore
ardour.1
COPYING
instant.xml.sae
msvc32-fixup.pl
PACKAGER_README
README
README-GITHUB.txt
system_config
testfile.flac
testfile.ogg
TRANSLATORS
waf
wscript Fix optimized armhf builds 2020-08-22 02:35:19 +02:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html