diff --git a/src/Discord.Net.Audio/IAudioClient.cs b/src/Discord.Net.Audio/IAudioClient.cs index 6d2ec8dcd..838ec945a 100644 --- a/src/Discord.Net.Audio/IAudioClient.cs +++ b/src/Discord.Net.Audio/IAudioClient.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +using System.IO; +using System.Threading.Tasks; namespace Discord.Audio { @@ -7,14 +8,16 @@ namespace Discord.Audio ConnectionState State { get; } Channel Channel { get; } Server Server { get; } + Stream OutputStream { get; } Task Join(Channel channel); Task Disconnect(); /// Sends a PCM frame to the voice server. Will block until space frees up in the outgoing buffer. /// PCM frame to send. This must be a single or collection of uncompressed 48Kz monochannel 20ms PCM frames. + /// Offset . /// Number of bytes in this frame. - void Send(byte[] data, int count); + void Send(byte[] data, int offset, int count); /// Clears the PCM buffer. void Clear(); /// Blocks until the voice output buffer is empty.