Commit f5024131 by olly Committed by Ian Baker

Fix typos in Javadoc

PiperOrigin-RevId: 360440021
parent 6be3a593
...@@ -1316,11 +1316,10 @@ public interface Player { ...@@ -1316,11 +1316,10 @@ public interface Player {
void setPlaybackParameters(@Nullable PlaybackParameters playbackParameters); 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
* * setPlaybackParameters(getPlaybackParameters().withSpeed(speed))}.
* <p>This is equivalent to {@code setPlaybackParameter(getPlaybackParameter().withSpeed(speed))}.
* *
* @param speed The linear factor by which playback will be sped up. Must be higher than 0. 1 is * @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... * normal speed, 2 is twice as fast, 0.5 is half normal speed...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment