Пример #1
0
        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));
        }
Пример #2
0
        // 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);
        }
Пример #3
0
 private static extern Result FMOD_DSPConnection_GetType(IntPtr dspconnection, out DspConnectionType type);
Пример #4
0
 public Result getType(out DspConnectionType type)
 {
     return(FMOD_DSPConnection_GetType(RawPtr, out type));
 }
Пример #5
0
 private static extern Result FMOD_DSP_AddInput(IntPtr dsp, IntPtr target, out IntPtr connection,
                                                DspConnectionType type);
Пример #6
0
 public DspInputEventArgs(DspConnection connection, DspConnectionType type)
 {
     Connection     = connection;
     ConnectionType = type;
 }