mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Clarify speedchange javadoc to mention duration.
The speed is that value only until the next one PiperOrigin-RevId: 606258937
This commit is contained in:
parent
1a5eb4eecd
commit
2594691950
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ import androidx.media3.common.util.UnstableApi;
|
|||
public interface SpeedProvider {
|
||||
|
||||
/**
|
||||
* Returns the media speed at the provided timestamp.
|
||||
* Returns the media speed from the provided timestamp.
|
||||
*
|
||||
* <p>The media speed will stay the same until {@linkplain #getNextSpeedChangeTimeUs the next
|
||||
* specified speed change}.
|
||||
*
|
||||
* @param timeUs The timestamp of the media.
|
||||
* @return The speed that the media should be played at.
|
||||
|
|
|
|||
Loading…
Reference in a new issue