Hi,
The FMOD_ERR_INVALID_PARAM
could be thrown for a couple of reasons, would it be possible to get a full code snippet? Some causes could be, if the *int
passed into the function is null or the m_system
fails a validation test in the getNumDrivers()
function. Initializing the debug system will also help resolve the issue, further explained under FMOD API | Common. To use the debug system you will have to link the fmodL logging dll in your project preferences. Then before calling System_Create
call Debug_Initialize(FMOD_DEBUG_LEVEL_LOG)
. This will print out FMOD logs to the output console of your IDE.
The FMOD_OUTPUTTYPE will impact the number of drivers used by the system, in reference to calling getNumDrivers(). Using NOSOUND and logging the errors from FMOD is the best way for now.