public RESULT release () { RESULT result = FMOD_DSP_Release(getRaw()); if (result == RESULT.OK) { rawPtr = IntPtr.Zero; } return result; } public RESULT getSystemObject (out System system)
void OnDestroy() { if (Channel != null) { Channel.stop(); Channel.removeDSP(_pitchShift); } if (_pitchShift != null) { _pitchShift.release(); } }