Files
nadekobot/src/NadekoBot/Modules/Music/_Common/IVoiceProxy.cs

15 lines
400 B
C#

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