allocate_output_buffer


Description:

public Buffer allocate_output_buffer (size_t size)

Helper function that allocates a buffer to hold an encoded audio frame for this's current output format.

Parameters:

this

a Encoder

size

size of the buffer

Returns:

allocated buffer