We are using FMOD Studio API in our game for school and when you unplug a monitor it creates this error when running FMOD’s Update function:
“A Win32 COM related error occurred. COM failed to initialize or a QueryInterface failed meaning a Windows codec or driver was not installed properly.”
Currently my only guess is switching a sound source creates this issue. For example if using an HDMI cord and unplugging it would then cause the source to switch. However, when testing with a VGA cord this doesn’t happen.
Any ideas on how to fix this or possibly detect when a source switches and handle it accordingly.