create_buffer


Description:

[ CCode ( cname = "gst_harness_create_buffer" ) ]
public Buffer create_buffer (size_t size)

Allocates a buffer using a BufferPool if present, or else using the configured Allocator and AllocationParams

MT safe.

Parameters:

this

a Harness

size

a size_t specifying the size of the buffer

Returns:

a Buffer of size size




2022 vala-language.org