docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderOutputBuffer.html
Package com.google.android.exoplayer2.decoder
Direct Known Subclasses:SimpleDecoderOutputBuffer, SubtitleOutputBuffer, VideoDecoderOutputBuffer
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public abstract classDecoderOutputBufferextends[Buffer](Buffer.html "class in com.google.android.exoplayer2.decoder")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Output buffer decoded by a Decoder.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | DecoderOutputBuffer.Owner<S extends DecoderOutputBuffer> |
Deprecated.
Buffer owner. |
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| int | skippedOutputBufferCount |
Deprecated.
The number of buffers immediately prior to this one that were skipped in the Decoder.
|
| long | timeUs |
Deprecated.
The presentation timestamp for the buffer, in microseconds. |
Constructors | Constructor | Description |
| --- | --- |
| DecoderOutputBuffer() |
Deprecated.
|
All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| abstract void | release() |
Deprecated.
Releases the output buffer for reuse. |
-
addFlag, clear, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, isLastSample, setFlags
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public long timeUs
Deprecated.
The presentation timestamp for the buffer, in microseconds.
-
public int skippedOutputBufferCount
Deprecated.
The number of buffers immediately prior to this one that were skipped in the Decoder.
-
public DecoderOutputBuffer()
Deprecated.
-
public abstract void release()
Deprecated.
Releases the output buffer for reuse. Must be called when the buffer is no longer needed.