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
|
@ -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…
Reference in New Issue
Block a user