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)); }
public bool SendAudioFrame(int friendNumber, ToxAvAudioFrame frame) { var error = ToxAvErrorSendFrame.Ok; return(SendAudioFrame(friendNumber, frame, out error)); }
public AudioFrameEventArgs(uint friendNumber, ToxAvAudioFrame frame) : base(friendNumber) { this.Frame = frame; }