FMOD.DSP.release C# (CSharp) Method

release() public method

public release ( ) : RESULT
return RESULT
        public RESULT release                   ()
        {
            RESULT result = FMOD_DSP_Release(getRaw());
            if (result == RESULT.OK)
            {
                rawPtr = IntPtr.Zero;
            }
            return result;
        }
        public RESULT getSystemObject           (out System system)

Usage Example

Beispiel #1
0
    void OnDestroy()
    {
        if (Channel != null)
        {
            Channel.stop();
            Channel.removeDSP(_pitchShift);
        }

        if (_pitchShift != null)
        {
            _pitchShift.release();
        }
    }