[ Version ( since = "1.6" ) ]
public Buffer? get_buffer (size_t nbytes)
Returns a Buffer containing the first nbytes
of the this, but
does not flush them from the adapter.
See take_buffer for details.
Caller owns a reference to the returned buffer. gst_buffer_unref
after usage.
Free-function: gst_buffer_unref
this |
a Adapter |
nbytes |
the number of bytes to get |
a Buffer containing the first |