diff --git a/library/common/src/main/java/com/google/android/exoplayer2/Player.java b/library/common/src/main/java/com/google/android/exoplayer2/Player.java index d444105656..f43c979135 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/Player.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/Player.java @@ -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. * - *
The pitch is not changed. - * - *
This is equivalent to {@code setPlaybackParameter(getPlaybackParameter().withSpeed(speed))}. + *
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...