Class DecoderOutputBuffer
- java.lang.Object
-
- com.google.android.exoplayer2.decoder.Buffer
-
- com.google.android.exoplayer2.decoder.DecoderOutputBuffer
-
- Direct Known Subclasses:
SimpleDecoderOutputBuffer,SubtitleOutputBuffer,VideoDecoderOutputBuffer
@Deprecated public abstract class DecoderOutputBuffer extends Buffer
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 aDecoder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDecoderOutputBuffer.Owner<S extends DecoderOutputBuffer>Deprecated.Buffer owner.
-
Field Summary
Fields Modifier and Type Field Description intskippedOutputBufferCountDeprecated.The number of buffers immediately prior to this one that were skipped in theDecoder.longtimeUsDeprecated.The presentation timestamp for the buffer, in microseconds.
-
Constructor Summary
Constructors Constructor Description DecoderOutputBuffer()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract voidrelease()Deprecated.Releases the output buffer for reuse.-
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
addFlag, clear, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, isLastSample, setFlags
-
-
-
-
Field Detail
-
timeUs
public long timeUs
Deprecated.The presentation timestamp for the buffer, in microseconds.
-
skippedOutputBufferCount
public int skippedOutputBufferCount
Deprecated.The number of buffers immediately prior to this one that were skipped in theDecoder.
-
-