[BUG] V.M. hangs when a audio device changes it's configuration

The Virtual Audio Mixer discussions and support...
Post Reply
Paul17041993
Posts: 4
Joined: Sat Apr 20, 2019 6:11 am

[BUG] V.M. hangs when a audio device changes it's configuration

Post by Paul17041993 »

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.
Vincent Burel
Site Admin
Posts: 2025
Joined: Sun Jan 17, 2010 12:01 pm

Re: [BUG] V.M. hangs when a audio device changes it's configuration

Post by Vincent Burel »

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.
Paul17041993
Posts: 4
Joined: Sat Apr 20, 2019 6:11 am

Re: [BUG] V.M. hangs when a audio device changes it's configuration

Post by Paul17041993 »

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.
Post Reply