Class SimpleDecoderOutputBuffer

    • Method Detail

      • init

        public ByteBuffer init​(long timeUs,
                               int size)
        Initializes the buffer.
        timeUs - The presentation timestamp for the buffer, in microseconds.
        size - An upper bound on the size of the data that will be written to the buffer.
        The data buffer, for convenience.
      • clear

        public void clear()
        Description copied from class: Buffer
        Clears the buffer.
        clear in class Buffer
      • release

        public void release()
        Description copied from class: DecoderOutputBuffer
        Releases the output buffer for reuse. Must be called when the buffer is no longer needed.
        Specified by:
        release in class DecoderOutputBuffer