13
0

Amend d899441df1, fix duplicate device map entries

This commit is contained in:
Robin Gareus 2023-07-03 19:57:55 +02:00
parent b757dd9fd8
commit efed61af44
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1052,6 +1052,7 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
_midi_device_thread_active = listen_for_midi_device_changes ();
devices.clear ();
get_alsa_audio_device_names (devices, (AlsaDuplex)slave_duplex);
if (!slave_device.empty () && (di = devices.find (slave_device)) != devices.end ()) {