using System; using System.Threading.Tasks; using Ayu.Discord.Voice; namespace NadekoBot.Modules.Music { public interface IVoiceProxy { VoiceProxy.VoiceProxyState State { get; } public bool SendPcmFrame(VoiceClient vc, Span data, int length); public void SetGateway(VoiceGateway gateway); Task StartSpeakingAsync(); Task StopSpeakingAsync(); public Task StartGateway(); Task StopGateway(); } }