TrueHdSampleRechunker


@UnstableApi
public final class TrueHdSampleRechunker


Rechunks TrueHD sample data into groups of TRUEHD_RECHUNK_SAMPLE_COUNT samples.

Summary

Public constructors

Public methods

void
outputPendingSampleMetadata(
    TrackOutput trackOutput,
    @Nullable TrackOutput.CryptoData cryptoData
)
void
void
sampleMetadata(
    TrackOutput trackOutput,
    long timeUs,
    @C.BufferFlags int flags,
    int size,
    int offset,
    @Nullable TrackOutput.CryptoData cryptoData
)
void

Public constructors

TrueHdSampleRechunker

public TrueHdSampleRechunker()

Public methods

outputPendingSampleMetadata

public void outputPendingSampleMetadata(
    TrackOutput trackOutput,
    @Nullable TrackOutput.CryptoData cryptoData
)

reset

public void reset()

sampleMetadata

public void sampleMetadata(
    TrackOutput trackOutput,
    long timeUs,
    @C.BufferFlags int flags,
    int size,
    int offset,
    @Nullable TrackOutput.CryptoData cryptoData
)

startSample

public void startSample(ExtractorInput input)