Use new hard-stop API to stop transport before export

This commit is contained in:
Robin Gareus 2022-05-13 17:48:23 +02:00
parent 25098edfc1
commit f8aecc460c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 2 deletions

View File

@ -152,8 +152,7 @@ Session::start_audio_export (samplepos_t position, bool realtime, bool region_ex
} while (_transport_fsm->waiting_for_butler() && --timeout > 0);
if (timeout == 0) {
error << _("Cannot prepare transport for export") << endmsg;
return -1;
_transport_fsm->hard_stop ();
}
/* We're about to call Track::seek, so the butler must have finished everything