Fix typos in Javadoc

PiperOrigin-RevId: 360440021
This commit is contained in:
olly 2021-03-02 17:03:21 +00:00 committed by Ian Baker
parent 6be3a59354
commit f5024131b8

View File

@ -1316,11 +1316,10 @@ public interface Player {
void setPlaybackParameters(@Nullable PlaybackParameters playbackParameters);
/**
* Changes the rate at which playback occurs.
* Changes the rate at which playback occurs. The pitch is not changed.
*
* <p>The pitch is not changed.
*
* <p>This is equivalent to {@code setPlaybackParameter(getPlaybackParameter().withSpeed(speed))}.
* <p>This is equivalent to {@code
* setPlaybackParameters(getPlaybackParameters().withSpeed(speed))}.
*
* @param speed The linear factor by which playback will be sped up. Must be higher than 0. 1 is
* normal speed, 2 is twice as fast, 0.5 is half normal speed...