mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
[Summary] Fixed issue when session loading hanged when session is being loaded with different sample rate
This commit is contained in:
parent
f865d4512e
commit
e88b207e20
1 changed files with 3 additions and 1 deletions
|
|
@ -837,7 +837,9 @@ AudioEngine::stop (bool for_latency)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (_session && _running) {
|
||||
if (_session && _running &&
|
||||
(_session->state_of_the_state() & Session::Loading) == 0 &&
|
||||
(_session->state_of_the_state() & Session::Deletion) == 0) {
|
||||
// it's not a halt, but should be handled the same way:
|
||||
// disable record, stop transport and I/O processign but save the data.
|
||||
_session->engine_halted ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue