コード例 #1
0
ファイル: ChannelGroup.cs プロジェクト: ududsha/BreadPlayer
        // 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);
        }
コード例 #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
        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);
        }
コード例 #4
0
 public Result DisconnectFrom(Dsp target, DspConnection connection)
 {
     return(FMOD_DSP_DisconnectFrom(RawPtr, target.GetRaw(), connection.GetRaw()));
 }