public DspConnection?AddInput(DSP target, DspConnectionType dspConnectionType = DspConnectionType.Standard) { DSPConnection connection; if (!FmodDsp.addInput(target.FmodDsp, out connection, EquivalentEnum <DspConnectionType, DSPCONNECTION_TYPE> .Cast(dspConnectionType)).Check(Suppressions())) { return(null); } return(new DspConnection(connection)); }
// Connection / disconnection / input and output enumeration. public Result AddInput(Dsp target, out DspConnection connection, DspConnectionType type) { connection = null; IntPtr dspconnectionraw; Result result = FMOD_DSP_AddInput(RawPtr, target.GetRaw(), out dspconnectionraw, type); connection = new DspConnection(dspconnectionraw); return(result); }
private static extern Result FMOD_DSPConnection_GetType(IntPtr dspconnection, out DspConnectionType type);
public Result getType(out DspConnectionType type) { return(FMOD_DSPConnection_GetType(RawPtr, out type)); }
private static extern Result FMOD_DSP_AddInput(IntPtr dsp, IntPtr target, out IntPtr connection, DspConnectionType type);
public DspInputEventArgs(DspConnection connection, DspConnectionType type) { Connection = connection; ConnectionType = type; }