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
@ -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…
x
Reference in New Issue
Block a user