mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Use new hard-stop API to stop transport before export
This commit is contained in:
parent
25098edfc1
commit
f8aecc460c
1 changed files with 1 additions and 2 deletions
|
|
@ -152,8 +152,7 @@ Session::start_audio_export (samplepos_t position, bool realtime, bool region_ex
|
||||||
} while (_transport_fsm->waiting_for_butler() && --timeout > 0);
|
} while (_transport_fsm->waiting_for_butler() && --timeout > 0);
|
||||||
|
|
||||||
if (timeout == 0) {
|
if (timeout == 0) {
|
||||||
error << _("Cannot prepare transport for export") << endmsg;
|
_transport_fsm->hard_stop ();
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We're about to call Track::seek, so the butler must have finished everything
|
/* We're about to call Track::seek, so the butler must have finished everything
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue