public interface

TimestampAdjustment.TimestampMap

 androidx.media3.effect.TimestampAdjustment.TimestampMap

Overview

Maps input timestamps to output timestamps asynchronously.

Implementation can choose to calculate the timestamp and invoke the consumer on another thread asynchronously.

Summary

Methods
public voidcalculateOutputTimeUs(long inputTimeUs, TimestampConsumer outputTimeConsumer)

Calculates the output timestamp that corresponds to the input timestamp.

Methods

public void calculateOutputTimeUs(long inputTimeUs, TimestampConsumer outputTimeConsumer)

Calculates the output timestamp that corresponds to the input timestamp.

The implementation should invoke the outputTimeConsumer with the output timestamp, on any thread.