Ignore all export xruns while not rolling

This fixes false positives with some backends, notably JACK2.
This commit is contained in:
Robin Gareus 2021-05-28 21:22:10 +02:00
parent 6b09ea42f1
commit 79b50aebcd
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1806,15 +1806,8 @@ Session::xrun_recovery ()
} }
} }
else if (exporting ()) { else if (_exporting && _realtime_export && _export_rolling) {
/* apparently JACK2 can cause xruns during freewheeling ++_export_xruns;
* (and not just one when switching from/to freewheeling):
* https://discourse.ardour.org/t/there-have-been-dropouts-during-realtime-export/105930
* https://github.com/jackaudio/jack2/issues/758
*/
if (realtime_export ()) {
++_export_xruns;
}
} }
} }