mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Fix audible hiccup at end of realtime export
This commit is contained in:
parent
1809b6ae9a
commit
2fc43c59c4
1 changed files with 7 additions and 2 deletions
|
|
@ -286,6 +286,9 @@ void
|
||||||
Session::process_export_fw (pframes_t nframes)
|
Session::process_export_fw (pframes_t nframes)
|
||||||
{
|
{
|
||||||
if (!_export_rolling) {
|
if (!_export_rolling) {
|
||||||
|
if (_realtime_export) {
|
||||||
|
fail_roll (nframes);
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
ProcessExport (0);
|
ProcessExport (0);
|
||||||
} catch (std::exception & e) {
|
} catch (std::exception & e) {
|
||||||
|
|
@ -402,8 +405,10 @@ Session::stop_audio_export ()
|
||||||
stuff that stop_transport() implements.
|
stuff that stop_transport() implements.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
realtime_stop (true, true);
|
if (!_realtime_export) {
|
||||||
flush_all_inserts ();
|
realtime_stop (true, true);
|
||||||
|
flush_all_inserts ();
|
||||||
|
}
|
||||||
_export_rolling = false;
|
_export_rolling = false;
|
||||||
_butler->schedule_transport_work ();
|
_butler->schedule_transport_work ();
|
||||||
reset_xrun_count ();
|
reset_xrun_count ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue