In our application we are using fmod. We are trying to make our application as robust as possible. To ensure that no functions are called before a certain library is initialized we check the current state of the library through query functions. Because now we get some minor crashes because if something goes wrong during the setup phase of a certain library everything is closed in a clean way. In this situation it is possible that FSOUND_Record_SetDriver or FSOUND_Record_Stop is called before FSOUND_Init which results in a crash. A solution to this minor problem can be to return a error code when the library is not initialized or check the state of fmod internally.

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.