get_max_memory
function get_max_memory():Number { // Gjs wrapper for gst_buffer_get_max_memory() }
Get the maximum amount of memory blocks that a buffer can hold. This is a compile time constant that can be queried with the function.
When more memory blocks are added, existing memory blocks will be merged together to make room for the new block.
Since 1.2.0
- Returns
the maximum amount of memory blocks that a buffer can hold.