Windows
-
Before calling any FMOD functions it is important to ensure COM is initialized. You can achieve this by calling
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED)on each thread that will interact with the FMOD Engine. This is balanced with a call toCoUninitialize()when you are completely finished with all calls to FMOD.