public class DefaultTimeInterpolator extends java.lang.Object implements TimeInterpolator
TimeInterpolator that does no time interpolation or correction -
it just returns the input time.| Constructor and Description |
|---|
DefaultTimeInterpolator() |
| Modifier and Type | Method and Description |
|---|---|
long |
interpolate(TrackType type,
long time)
Given the track type (audio or video) and the frame timestamp in microseconds,
should return the corrected timestamp.
|
public long interpolate(@NonNull
TrackType type,
long time)
TimeInterpolatorinterpolate in interface TimeInterpolatortype - track typetime - frame timestamp in microseconds