Fixed a couple incoming audio bugs

This commit is contained in:
RogueException
2017-04-06 16:18:21 -03:00
parent 653502c371
commit 0d361def93
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ namespace Discord.Audio.Streams
private readonly byte[] _buffer;
private readonly OpusDecoder _decoder;
public OpusDecodeStream(AudioStream next, int channels = OpusConverter.MaxChannels, int bufferSize = 4000)
public OpusDecodeStream(AudioStream next, int channels = OpusConverter.MaxChannels, int bufferSize = 5760 * 4)
{
_next = next;
_buffer = new byte[bufferSize];