create

abstract fun create(bufferSize: Int, timestampInUs: Long): RawFrame

Creates a RawFrame.

The returned frame must be released by calling RawFrame.close when it is not used anymore.

Return

a frame

Parameters

bufferSize

the buffer size

timestampInUs

the frame timestamp in µs