wasapi library: improved support for multiple devices