private FMOD_DSP_AddInput ( |
||
dsp | ||
target | ||
connection | ||
type | DSPCONNECTION_TYPE | |
return | RESULT |
public RESULT addInput(DSP target, ref DSPConnection dspconnection) { RESULT rESULT = RESULT.OK; IntPtr raw = IntPtr.Zero; try { rESULT = DSP.FMOD_DSP_AddInput(dspraw, target.getRaw(), ref raw); } catch { rESULT = RESULT.ERR_INVALID_PARAM; } RESULT result; if (rESULT != RESULT.OK) { result = rESULT; } else { if (dspconnection == null) { DSPConnection dSPConnection = new DSPConnection(); dSPConnection.setRaw(raw); dspconnection = dSPConnection; } else { dspconnection.setRaw(raw); } result = rESULT; } return(result); }