Game Development Community

YAQAFMOD (Yet another question about fmod)

by John Carroll · in Torque 3D Professional · 11/04/2011 (1:24 pm) · 0 replies

I seem to be getting a crash in this block:

FMOD_RESULT operator()( A a, B b )
      {
         mutex->lock();
         FMOD_RESULT result = fn( a, b );
         mutex->unlock();
         return result;
      }

both a and b are 0 at fn(a, b);

This only happens on shutdown, and probably only if we are actively playing a sound. Any ideas?

--John

About the author

Working on using Torque as an Image Generator for Tactical Simulations under laser and live fire conditions, for Law Enforcement/Military applications.