Sample.getBuffer

Get the buffer associated with sample

class Sample
getBuffer
()

Return Value

Type: Buffer

the buffer of sample or NULL when there is no buffer. The buffer remains valid as long as sample is valid. If you need to hold on to it for longer than that, take a ref to the buffer with Buffer.ref.