private void DestroyInstance() { if (handle != IntPtr.Zero) { if (is64Bit) { SoundTouchInterop64.soundtouch_destroyInstance(handle); } else { SoundTouchInterop32.soundtouch_destroyInstance(handle); } handle = IntPtr.Zero; } }