mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
17 lines
471 B
C#
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();
|
|
}
|
|
} |