public RESULT addDSP(DSP dsp, ref DSPConnection dspconnection) { RESULT rESULT = RESULT.OK; IntPtr raw = IntPtr.Zero; try { rESULT = Channel.FMOD_Channel_AddDSP(channelraw, dsp.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); }
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); }
public RESULT addDSP(DSP dsp, ref DSPConnection connection) { RESULT result = RESULT.OK; IntPtr dspconnectionraw = new IntPtr(); DSPConnection dspconnectionnew = null; try { result = FMOD_Channel_AddDSP(channelraw, dsp.getRaw(), ref dspconnectionraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return(result); } if (connection == null) { dspconnectionnew = new DSPConnection(); dspconnectionnew.setRaw(dspconnectionraw); connection = dspconnectionnew; } else { connection.setRaw(dspconnectionraw); } return(result); }
public RESULT addInput(DSP target, out DSPConnection connection, DSPCONNECTION_TYPE type) { connection = null; IntPtr raw; RESULT result = DSP.FMOD5_DSP_AddInput(this.rawPtr, target.getRaw(), out raw, type); connection = new DSPConnection(raw); return result; }
public RESULT addInput(DSP target, out DSPConnection connection, DSPCONNECTION_TYPE type) { connection = null; IntPtr raw; RESULT result = DSP.FMOD5_DSP_AddInput(this.rawPtr, target.getRaw(), out raw, type); connection = new DSPConnection(raw); return(result); }
public RESULT playDSP(DSP dsp, ChannelGroup channelGroup, bool paused, out Channel channel) { channel = null; IntPtr channelGroup2 = (!(channelGroup != null)) ? IntPtr.Zero : channelGroup.getRaw(); IntPtr raw; RESULT result = System.FMOD5_System_PlayDSP(this.rawPtr, dsp.getRaw(), channelGroup2, paused, out raw); channel = new Channel(raw); return(result); }
public RESULT addInput(DSP target, ref DSPConnection connection) { RESULT result = RESULT.OK; IntPtr dspconnectionraw = new IntPtr(); DSPConnection dspconnectionnew = null; try { result = FMOD_DSP_AddInput(dspraw, target.getRaw(), ref dspconnectionraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } if (connection == null) { dspconnectionnew = new DSPConnection(); dspconnectionnew.setRaw(dspconnectionraw); connection = dspconnectionnew; } else { connection.setRaw(dspconnectionraw); } return result; }
public RESULT overridePanDSP(DSP pan) { return FMOD_ChannelGroup_OverridePanDSP(rawPtr, pan.getRaw()); }
public RESULT removeDSP(DSP dsp) { return FMOD_ChannelGroup_RemoveDSP(rawPtr, dsp.getRaw()); }
public RESULT playDSP (DSP dsp, ChannelGroup channelGroup, bool paused, out Channel channel) { channel = null; IntPtr channelGroupRaw = (channelGroup != null) ? channelGroup.getRaw() : IntPtr.Zero; IntPtr channelraw; RESULT result = FMOD_System_PlayDSP(rawPtr, dsp.getRaw(), channelGroupRaw, paused, out channelraw); channel = new Channel(channelraw); return result; }
public RESULT setDSPIndex(DSP dsp, int index) { return FMOD5_ChannelGroup_SetDSPIndex(rawPtr, dsp.getRaw(), index); }
public RESULT addInput(DSP target) { return FMOD_DSP_AddInput(dspraw, target.getRaw()); }
public RESULT addDSP(DSP dsp) { return FMOD_Channel_AddDSP(channelraw, dsp.getRaw()); }
public RESULT addDSP (DSP dsp, CHANNELCONTROL_DSP_INDEX index, ref DSPConnection connection) { RESULT result = RESULT.OK; IntPtr dspconnectionraw = new IntPtr(); DSPConnection dspconnectionnew = null; try { result = FMOD_ChannelGroup_AddDSP(channelgroupraw, index, dsp.getRaw(), ref dspconnectionraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } if (connection == null) { dspconnectionnew = new DSPConnection(); dspconnectionnew.setRaw(dspconnectionraw); connection = dspconnectionnew; } else { connection.setRaw(dspconnectionraw); } return result; }
public RESULT addDSP(DSP dsp, int index, out DSPConnection connection) { connection = null; IntPtr dspconnectionraw; RESULT result = FMOD_ChannelGroup_AddDSP(rawPtr, index, dsp.getRaw(), out dspconnectionraw); connection = new DSPConnection(dspconnectionraw); return result; }
public RESULT disconnectFrom (DSP target) { return FMOD5_DSP_DisconnectFrom(rawPtr, target.getRaw()); }
public RESULT playDSP (DSP dsp, bool paused, out Channel channel) { channel = null; IntPtr channelraw; RESULT result = FMOD5_System_PlayDSP(rawPtr, dsp.getRaw(), paused, out channelraw); channel = new Channel(channelraw); return result; }
public RESULT disconnectFrom(DSP target) { return(DSP.FMOD_DSP_DisconnectFrom(dspraw, target.getRaw())); }
public RESULT getDSPIndex(DSP dsp, out int index) { return(ChannelControl.FMOD5_ChannelGroup_GetDSPIndex(this.rawPtr, dsp.getRaw(), out index)); }
public RESULT disconnectFrom(DSP target, DSPConnection connection) { return(DSP.FMOD5_DSP_DisconnectFrom(this.rawPtr, target.getRaw(), connection.getRaw())); }
public RESULT addDSP(int index, DSP dsp) { return ChannelControl.FMOD5_ChannelGroup_AddDSP(this.rawPtr, index, dsp.getRaw()); }
public RESULT addDSP(DSP dsp) { return FMOD_ChannelGroup_AddDSP(channelgroupraw, dsp.getRaw()); }
public RESULT overridePanDSP(DSP pan) { return ChannelControl.FMOD5_ChannelGroup_OverridePanDSP(this.rawPtr, pan.getRaw()); }
public RESULT addDSP(DSP dsp) { return FMOD_System_AddDSP(systemraw, dsp.getRaw()); }
public RESULT removeDSP(DSP dsp) { return ChannelControl.FMOD5_ChannelGroup_RemoveDSP(this.rawPtr, dsp.getRaw()); }
public RESULT disconnectFrom (DSP target, DSPConnection connection) { return FMOD5_DSP_DisconnectFrom(rawPtr, target.getRaw(), connection.getRaw()); }
public RESULT setDSPIndex(DSP dsp, int index) { return ChannelControl.FMOD5_ChannelGroup_SetDSPIndex(this.rawPtr, dsp.getRaw(), index); }
public RESULT addDSP(int index, DSP dsp) { return FMOD_ChannelGroup_AddDSP(rawPtr, index, dsp.getRaw()); }
public RESULT addDSP(DSP dsp, ref DSPConnection connection) { RESULT result = RESULT.OK; IntPtr dspconnectionraw = new IntPtr(); DSPConnection dspconnectionnew = null; try { result = FMOD_System_AddDSP(systemraw, dsp.getRaw(), ref dspconnectionraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } if (connection == null) { dspconnectionnew = new DSPConnection(); dspconnectionnew.setRaw(dspconnectionraw); connection = dspconnectionnew; } else { connection.setRaw(dspconnectionraw); } return result; }
public RESULT getDSPIndex(DSP dsp, out int index) { return FMOD_ChannelGroup_GetDSPIndex(rawPtr, dsp.getRaw(), out index); }
public RESULT removeDSP(DSP dsp) { return(ChannelControl.FMOD5_ChannelGroup_RemoveDSP(this.rawPtr, dsp.getRaw())); }
// Connection / disconnection / input and output enumeration. public RESULT addInput(DSP target, out DSPConnection connection) { connection = null; IntPtr dspconnectionraw; RESULT result = FMOD_DSP_AddInput(rawPtr, target.getRaw(), out dspconnectionraw); connection = new DSPConnection(dspconnectionraw); return result; }
public RESULT playDSP(DSP dsp, ChannelGroup channelGroup, bool paused, out Channel channel) { channel = null; IntPtr channelGroup2 = (!(channelGroup != null)) ? IntPtr.Zero : channelGroup.getRaw(); IntPtr raw; RESULT result = System.FMOD5_System_PlayDSP(this.rawPtr, dsp.getRaw(), channelGroup2, paused, out raw); channel = new Channel(raw); return result; }
public RESULT disconnectFrom(DSP target) { return FMOD_DSP_DisconnectFrom(dspraw, target.getRaw()); }
public RESULT overridePanDSP(DSP pan) { return(ChannelControl.FMOD5_ChannelGroup_OverridePanDSP(this.rawPtr, pan.getRaw())); }
public RESULT playDSP(CHANNELINDEX channelid, DSP dsp, bool paused, ref Channel channel) { RESULT result = RESULT.OK; IntPtr channelraw; Channel channelnew = null; if (channel != null) { channelraw = channel.getRaw(); } else { channelraw = new IntPtr(); } try { result = FMOD_System_PlayDSP(systemraw, channelid, dsp.getRaw(), (paused ? 1 : 0), ref channelraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } if (channel == null) { channelnew = new Channel(); channelnew.setRaw(channelraw); channel = channelnew; } else { channel.setRaw(channelraw); } return result; }
public RESULT addDSP(int index, DSP dsp) { return(ChannelControl.FMOD5_ChannelGroup_AddDSP(this.rawPtr, index, dsp.getRaw())); }