Back to Exoplayer

TrueHdSampleRechunker (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/TrueHdSampleRechunker.html

latest3.5 KB
Original Source

Package com.google.android.exoplayer2.extractor

Class TrueHdSampleRechunker

  • java.lang.Object

    • com.google.android.exoplayer2.extractor.TrueHdSampleRechunker

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTrueHdSampleRechunkerextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

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.

Rechunks TrueHD sample data into groups of Ac3Util.TRUEHD_RECHUNK_SAMPLE_COUNT samples.

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | TrueHdSampleRechunker() | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | outputPendingSampleMetadata​(TrackOutput trackOutput, TrackOutput.CryptoData cryptoData) | Deprecated. | | void | reset() | Deprecated. | | void | sampleMetadata​(TrackOutput trackOutput, long timeUs, @com.google.android.exoplayer2.C.BufferFlags int flags, int size, int offset, TrackOutput.CryptoData cryptoData) | Deprecated. | | void | startSample​(ExtractorInput input) | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

- 

TrueHdSampleRechunker

public TrueHdSampleRechunker()

Deprecated.

Method Detail

- 

reset

public void reset()

Deprecated.

- 

startSample

public void startSample​([ExtractorInput](ExtractorInput.html "interface in com.google.android.exoplayer2.extractor")input)
                 throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")

Deprecated. Throws:IOException

- 

sampleMetadata

public void sampleMetadata​([TrackOutput](TrackOutput.html "interface in com.google.android.exoplayer2.extractor")trackOutput,
                           long timeUs,
                           @com.google.android.exoplayer2.C.BufferFlags int flags,
                           int size,
                           int offset,
                           @Nullable[TrackOutput.CryptoData](TrackOutput.CryptoData.html "class in com.google.android.exoplayer2.extractor")cryptoData)

Deprecated.

- 

outputPendingSampleMetadata

public void outputPendingSampleMetadata​([TrackOutput](TrackOutput.html "interface in com.google.android.exoplayer2.extractor")trackOutput,
                                        @Nullable[TrackOutput.CryptoData](TrackOutput.CryptoData.html "class in com.google.android.exoplayer2.extractor")cryptoData)

Deprecated.