mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 19:37:45 +01:00
[Summary] Added transport stop when engine stops
This commit is contained in:
parent
574e646e8c
commit
67bb48c4df
1 changed files with 6 additions and 7 deletions
|
|
@ -419,13 +419,6 @@ AudioEngine::do_reset_backend()
|
|||
|
||||
// backup the device name
|
||||
std::string name = _backend->device_name ();
|
||||
|
||||
std::cout << "AudioEngine::RESET::Halting session processing..." << std::endl;
|
||||
if (_session && _running) {
|
||||
// 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 ();
|
||||
}
|
||||
|
||||
std::cout << "AudioEngine::RESET::Stoping engine..." << std::endl;
|
||||
stop();
|
||||
|
|
@ -839,6 +832,12 @@ AudioEngine::stop (bool for_latency)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (_session && _running) {
|
||||
// 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 ();
|
||||
}
|
||||
|
||||
Glib::Threads::Mutex::Lock lm (_process_lock);
|
||||
|
||||
if (_backend->stop ()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue