Table of Contents
API reference

Method GetMaximumBufferSize

Namespace
DisCatSharp.Voice.Entities
Assembly
DisCatSharp.Voice.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.