When I use python scripts from your packages, it works fine unless I SIGKILL the script. Then, the phenomenon is the same, it cannot connect anymore to the device.
In my application, I have put dai::Device::getAllAvailableDevices
and dai::Device::getAllConnectedDevices
.
When a script or my application crash (stop the debugger for example), the devices are detected with getAllConnectedDevices, but are not listed from getAllAvailableDevices .
It seems that the availability comes back after something like 80/90 seconds. Maybe I should just wait longer between 2 executions of the application, in order to let the devices reboot.
Is it possible to force a device to disconnect/close only by its DeviceInfo ? As I can see the devices and not connect to them sometimes, I could just check if they are available and force them to close.
Thanks,
Thomas