public void Update(FMOD.System fmod) { FMOD.RESULT result; //Trace.TraceError("setting ListenerPosition: " + listenerPosition.x.ToString() + ", " + // listenerPosition.y.ToString() + ", " + listenerPosition.z.ToString()); result = fmod.set3DListenerAttributes(0, ref listenerPosition, ref listenerVelocity, ref listenerForward, ref listenerUp); CheckRetCode(result); result = fmod.update(); LogResults(result); }