Buffer.getMemory

Get the memory block at index idx in buffer.

class Buffer
getMemory
(
uint idx
)

Parameters

idx uint

an index

Return Value

Type: Memory

a GstMemory that contains the data of the memory block at idx. Use gst_memory_unref() after usage. [transfer full]

Meta