use clear_ports()
This commit is contained in:
parent
6cdc245967
commit
af69ac1285
@ -572,15 +572,7 @@ PortAudioBackend::_start (bool for_latency_measurement)
|
|||||||
return BackendReinitializationError;
|
return BackendReinitializationError;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_ports.size()) {
|
clear_ports ();
|
||||||
DEBUG_AUDIO(
|
|
||||||
"Recovering from unclean shutdown, port registry is not empty.\n");
|
|
||||||
_system_inputs.clear();
|
|
||||||
_system_outputs.clear();
|
|
||||||
_system_midi_in.clear();
|
|
||||||
_system_midi_out.clear();
|
|
||||||
_ports.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* reset internal state */
|
/* reset internal state */
|
||||||
assert (_run == false);
|
assert (_run == false);
|
||||||
|
Loading…
Reference in New Issue
Block a user