/// <summary> /// Removes an <see cref="IXAudio2EngineCallback" /> from the <see cref="XAudio2" /> engine callback list. /// </summary> /// <param name="callback"> /// <see cref="IXAudio2EngineCallback" /> object to remove from the <see cref="XAudio2" /> engine /// callback list. If the given interface is present more than once in the list, only the first instance in the list /// will be removed. /// </param> public override unsafe void UnregisterForCallbacks(IXAudio2EngineCallback callback) { InteropCalls.CallI6(UnsafeBasePtr, callback, ((void **)(*(void **)UnsafeBasePtr))[7]); }