Пример #1
0
        public bool SendAudioFrame(int friendNumber, ToxAvAudioFrame frame, out ToxAvErrorSendFrame error)
        {
            ThrowIfDisposed();

            error = ToxAvErrorSendFrame.Ok;
            return(ToxAvFunctions.AudioSendFrame(_toxAv, ToxTools.Map(friendNumber), frame.Data, (uint)(frame.Data.Length / frame.Channels), (byte)frame.Channels, (uint)frame.SamplingRate, ref error));
        }
Пример #2
0
        public bool SendAudioFrame(int friendNumber, ToxAvAudioFrame frame)
        {
            var error = ToxAvErrorSendFrame.Ok;

            return(SendAudioFrame(friendNumber, frame, out error));
        }
Пример #3
0
 public AudioFrameEventArgs(int friendNumber, ToxAvAudioFrame frame)
     : base(friendNumber)
 {
     Frame = frame;
 }