Files
nadekobot/NadekoBot.Core/Modules/Music/Common/IVoiceProxy.cs
2021-09-06 21:29:22 +02:00

17 lines
471 B
C#

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<byte> data, int length);
public void SetGateway(VoiceGateway gateway);
Task StartSpeakingAsync();
Task StopSpeakingAsync();
public Task StartGateway();
Task StopGateway();
}
}