mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
[Summary] Reordered device reset operations correctly
This commit is contained in:
parent
91fcacd150
commit
e6192504ea
1 changed files with 5 additions and 5 deletions
|
|
@ -391,16 +391,16 @@ AudioEngine::do_reset_backend()
|
||||||
// backup the device name
|
// backup the device name
|
||||||
std::string name = _backend->device_name ();
|
std::string name = _backend->device_name ();
|
||||||
|
|
||||||
std::cout << "RESET::Stoping" << std::endl;
|
std::cout << "RESET::HALT" << std::endl;
|
||||||
stop();
|
|
||||||
|
|
||||||
std::cout << "RESET::HALT" << std::endl;
|
|
||||||
if (_session) {
|
if (_session) {
|
||||||
// it's not a halt, but should be handled the same way:
|
// it's not a halt, but should be handled the same way:
|
||||||
// disable record, stop transport and I/O processign but save the data.
|
// disable record, stop transport and I/O processign but save the data.
|
||||||
//_session->engine_halted ();
|
_session->engine_halted ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << "RESET::Stoping" << std::endl;
|
||||||
|
stop();
|
||||||
|
|
||||||
std::cout << "RESET::Reseting" << std::endl;
|
std::cout << "RESET::Reseting" << std::endl;
|
||||||
if ( 0 == _backend->reset_device () ) {
|
if ( 0 == _backend->reset_device () ) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue