Firelight Technologies FMOD Studio API
Waits until all previous commands have been executed. When Studio has been created with the FMOD_STUDIO_INIT_ASYNC flag, this function will block the calling thread until the commands have been executed on the async thread.
This function may be used to ensure that Studio has completely finished the previous commands, for example, when measuring memory usage after calling bank unload.
FMOD_RESULT Studio::System::flushCommands();
FMOD_RESULT FMOD_Studio_System_FlushCommands(FMOD_STUDIO_SYSTEM *system);
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Version 1.03.06 Built on Apr 17, 2014