allocate_output_buffer


Description:

public Buffer allocate_output_buffer (size_t size)

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

Parameters:

this

a Decoder

size

size of the buffer

Returns:

allocated buffer