From f8aecc460c5d03c6fafe2dc67698125740683ec5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 13 May 2022 17:48:23 +0200 Subject: [PATCH] Use new hard-stop API to stop transport before export --- libs/ardour/session_export.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index 2763c60bac..1a06583040 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -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