コード例 #1
0
ファイル: Dsp.cs プロジェクト: nathanchere/nFMOD
        public Channel Play(Channel channel = null)
        {
            IntPtr result = channel == null
                ? IntPtr.Zero
                : Channel.DangerousGetHandle()
                ;

            Errors.ThrowIfError(PlayDsp(Parent.DangerousGetHandle(), ChannelIndex.Free, DangerousGetHandle(), false, ref result));

            Channel = channel == null
                ? new Channel(result)
                : channel;

            return Channel;
        }
コード例 #2
0
ファイル: FmodSystem.cs プロジェクト: nathanchere/nFMOD
 public void PlayDsp(Dsp dsp, bool paused, Channel chn)
 {
     throw new NotImplementedException("Use DSP.Play() instead");
 }