// Nested channel groups. public Result AddGroup(ChannelGroup group, bool propagatedspclock, out DspConnection connection) { connection = null; IntPtr connectionRaw; Result result = FMOD_ChannelGroup_AddGroup(GetRaw(), group.GetRaw(), propagatedspclock, out connectionRaw); connection = new DspConnection(connectionRaw); return(result); }
// 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); }
public Result GetOutput(int index, out Dsp output, out DspConnection outputconnection) { output = null; outputconnection = null; IntPtr dspoutputraw; IntPtr dspconnectionraw; Result result = FMOD_DSP_GetOutput(RawPtr, index, out dspoutputraw, out dspconnectionraw); output = new Dsp(dspoutputraw); outputconnection = new DspConnection(dspconnectionraw); return(result); }
public Result DisconnectFrom(Dsp target, DspConnection connection) { return(FMOD_DSP_DisconnectFrom(RawPtr, target.GetRaw(), connection.GetRaw())); }