Class MetadataInputBuffer
- java.lang.Object
-
- com.google.android.exoplayer2.decoder.Buffer
-
- com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- com.google.android.exoplayer2.metadata.MetadataInputBuffer
-
public final class MetadataInputBuffer extends DecoderInputBuffer
ADecoderInputBuffer
for aMetadataDecoder
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
DecoderInputBuffer.BufferReplacementMode, DecoderInputBuffer.InsufficientCapacityException
-
-
Field Summary
Fields Modifier and Type Field Description long
subsampleOffsetUs
An offset that must be added to the metadata's timestamps after it's been decoded, orFormat.OFFSET_SAMPLE_RELATIVE
ifDecoderInputBuffer.timeUs
should be added.-
Fields inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, format, supplementalData, timeUs, waitingForKeys
-
-
Constructor Summary
Constructors Constructor Description MetadataInputBuffer()
-
Method Summary
-
Methods inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
clear, ensureSpaceForWrite, flip, isEncrypted, newNoDataInstance, resetSupplementalData
-
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags
-
-
-
-
Field Detail
-
subsampleOffsetUs
public long subsampleOffsetUs
An offset that must be added to the metadata's timestamps after it's been decoded, orFormat.OFFSET_SAMPLE_RELATIVE
ifDecoderInputBuffer.timeUs
should be added.
-
-