Isolated API definitions to their own library
This commit is contained in:
@@ -18,6 +18,6 @@ namespace Discord.Audio
|
||||
Task DisconnectAsync();
|
||||
|
||||
Stream CreateOpusStream(int samplesPerFrame, int bufferSize = 4000);
|
||||
Stream CreatePCMStream(int samplesPerFrame, int? bitrate = null, OpusApplication application = OpusApplication.MusicOrMixed, int bufferSize = 4000);
|
||||
Stream CreatePCMStream(int samplesPerFrame, int? bitrate = null, int bufferSize = 4000);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
namespace Discord.Audio
|
||||
{
|
||||
public enum OpusApplication : int
|
||||
{
|
||||
Voice = 2048,
|
||||
MusicOrMixed = 2049,
|
||||
LowLatency = 2051
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user