Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public void PlayDsp(Dsp dsp, bool paused, Channel chn)
 {
     throw new NotImplementedException("Use DSP.Play() instead");
 }