SpeedProviderUtil


@UnstableApi
class SpeedProviderUtil


Utilities for SpeedProvider.

Summary

Public functions

java-static Long
getDurationAfterSpeedProviderApplied(
    speedProvider: SpeedProvider!,
    durationUs: Long
)

Returns the duration of the output when the given SpeedProvider is applied given an input stream with the given durationUs.

Public functions

getDurationAfterSpeedProviderApplied

java-static fun getDurationAfterSpeedProviderApplied(
    speedProvider: SpeedProvider!,
    durationUs: Long
): Long

Returns the duration of the output when the given SpeedProvider is applied given an input stream with the given durationUs.