AudioEncoder.allocateOutputBuffer

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

class AudioEncoder
allocateOutputBuffer
(
size_t size
)

Parameters

size size_t

size of the buffer

Return Value

Type: gst.buffer.Buffer

allocated buffer