AudioDecoder.allocateOutputBuffer

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

class AudioDecoder
allocateOutputBuffer
(
size_t size
)

Parameters

size size_t

size of the buffer

Return Value

Type: gst.buffer.Buffer

allocated buffer