AudioEncoder.allocateOutputBuffer

gst.buffer.Buffer allocateOutputBuffer(size_t size) nothrow

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

Parameters

sizesize of the buffer

Returns

allocated buffer