public RESULT getDSPHead(ref DSP dsp) { RESULT rESULT = RESULT.OK; IntPtr raw = IntPtr.Zero; try { rESULT = Channel.FMOD_Channel_GetDSPHead(channelraw, ref raw); } catch { rESULT = RESULT.ERR_INVALID_PARAM; } RESULT result; if (rESULT != RESULT.OK) { result = rESULT; } else { DSP dSP = new DSP(); dSP.setRaw(raw); dsp = dSP; result = rESULT; } return(result); }