TrueHdSampleRechunker


@UnstableApi
class TrueHdSampleRechunker


Rechunks TrueHD sample data into groups of TRUEHD_RECHUNK_SAMPLE_COUNT samples.

Summary

Public constructors

Public functions

Unit
outputPendingSampleMetadata(
    trackOutput: TrackOutput!,
    cryptoData: TrackOutput.CryptoData?
)
Unit
Unit
sampleMetadata(
    trackOutput: TrackOutput!,
    timeUs: Long,
    @C.BufferFlags flags: Int,
    size: Int,
    offset: Int,
    cryptoData: TrackOutput.CryptoData?
)
Unit

Public constructors

TrueHdSampleRechunker

TrueHdSampleRechunker()

Public functions

outputPendingSampleMetadata

fun outputPendingSampleMetadata(
    trackOutput: TrackOutput!,
    cryptoData: TrackOutput.CryptoData?
): Unit

reset

fun reset(): Unit

sampleMetadata

fun sampleMetadata(
    trackOutput: TrackOutput!,
    timeUs: Long,
    @C.BufferFlags flags: Int,
    size: Int,
    offset: Int,
    cryptoData: TrackOutput.CryptoData?
): Unit

startSample

fun startSample(input: ExtractorInput!): Unit