question: public boolean peekSample ( MediaCodec . BufferInfo out_bufferInfo ) { update ( ) ; boolean result = false ; if ( ! mAvailableOutputBuffers . isEmpty ( ) ) { int index = mAvailableOutputBuffers . peek ( ) ; MediaCodec . BufferInfo info = mOutputBufferInfo [ index ] ; out_bufferInfo . set ( info . offset , info . size , info . presentationTimeUs , info . flags ) ; result = true ; } return result ; }
target:  Performs a peek() operation in the queue to extract media info for the buffer ready to be released i.e. the head element of the queue.