mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Coreaudio: fix duplicates in device list
This is an edge-case only, some devices may dis and reconnect with different IDs.
This commit is contained in:
parent
bdb5aec1cc
commit
df0571892f
1 changed files with 3 additions and 0 deletions
|
|
@ -595,6 +595,9 @@ CoreAudioPCM::discover()
|
|||
free(_device_outs); _device_outs = 0;
|
||||
}
|
||||
_devices.clear();
|
||||
_input_devices.clear();
|
||||
_output_devices.clear();
|
||||
_duplex_devices.clear();
|
||||
|
||||
err = GetHardwarePropertyInfoWrapper (kAudioHardwarePropertyDevices, &size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue