With VM-potato at least, if my SBZx card changes its configuration for any reason; VM will hang indefinitely. This may be a conglomerate bug with other issues if the WASAPI events are not being handled correctly;
https://docs.microsoft.com/en-us/window ... am-routing
If the event system is already implemented, you may simply need to update the SDK version your using; latest seems to be '10.0.17763.0'.
Hang occurs with both MME and WDM modes of the device, but only if the "speakers" (the one that can change its own layout and format) is used as an output. Note that creative designed the "speakers" output as a virtual, universal output with four separate device configurations, each with their own set of channel mappings and supported output formats.
[BUG] V.M. hangs when a audio device changes it's configuration
-
- Posts: 9
- Joined: Sat Apr 20, 2019 6:11 am
-
- Site Admin
- Posts: 2133
- Joined: Sun Jan 17, 2010 12:01 pm
Re: [BUG] V.M. hangs when a audio device changes it's configuration
managing WASAPI event (if working correct) will not help you with MME interfaces:
viewtopic.php?f=6&t=430&p=912
will take a look on this API... but the main problem we have is to detect reconnection... that seems to be not planned at in Windows Audio API.
viewtopic.php?f=6&t=430&p=912
will take a look on this API... but the main problem we have is to detect reconnection... that seems to be not planned at in Windows Audio API.
-
- Posts: 9
- Joined: Sat Apr 20, 2019 6:11 am
Re: [BUG] V.M. hangs when a audio device changes it's configuration
It should, it tells you when audio devices have changed, and thus when MME should be re-loaded. This is with a PCIe card however, which is not outright removable in that sense, but a WASAPI device changed event will still be fired when it changes configuration.