Exemplo n.º 1
0
        public bool SendAudioFrame(uint friendNumber, ToxAvAudioFrame frame, out ToxAvErrorSendFrame error)
        {
            ThrowIfDisposed();

            error = ToxAvErrorSendFrame.Ok;
            return(ToxAvFunctions.Audio.SendFrame(AvHandle, friendNumber, frame.Data, (uint)(frame.Data.Length / frame.Channels), (byte)frame.Channels, (uint)frame.SamplingRate, ref error));
        }
Exemplo n.º 2
0
        public bool SendAudioFrame(int friendNumber, ToxAvAudioFrame frame)
        {
            var error = ToxAvErrorSendFrame.Ok;

            return(SendAudioFrame(friendNumber, frame, out error));
        }
Exemplo n.º 3
0
 public AudioFrameEventArgs(uint friendNumber, ToxAvAudioFrame frame)
     : base(friendNumber)
 {
     this.Frame = frame;
 }