Table of Contents

Method GetMaximumBufferSize

Namespace
DSharpPlus.VoiceNext
Assembly
DSharpPlus.VoiceNext.dll

GetMaximumBufferSize()

Gets the maximum buffer size for decoding. This method should be called when decoding Opus data to PCM, to ensure sufficient buffer size.

public int GetMaximumBufferSize()

Returns

int

Buffer size required to decode data.