mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
ALSA: retain port-connections of slave devices
When the engine is re-started, ports should only be reconnected when all slave devices are running. Previously those connections were lost.
This commit is contained in:
parent
8089998eaa
commit
3f4e2fa348
1 changed files with 2 additions and 1 deletions
|
|
@ -982,7 +982,6 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
|
|||
return PortReconnectError;
|
||||
}
|
||||
|
||||
engine.reconnect_ports ();
|
||||
_run = true;
|
||||
g_atomic_int_set (&_port_change_flag, 0);
|
||||
|
||||
|
|
@ -1060,6 +1059,8 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
|
|||
}
|
||||
#endif
|
||||
|
||||
engine.reconnect_ports ();
|
||||
|
||||
return NoError;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue