From 5f68c7a3f8400bcef233bf02d9a722f6d21f5c34 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Tue, 12 May 2015 11:13:07 -0700 Subject: [PATCH] Spell out parameters Change-Id: I7937e5f84fabee64cc1ebd5b8c1b45a1ff759ffe --- media/java/android/media/AudioTrack.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/media/java/android/media/AudioTrack.java b/media/java/android/media/AudioTrack.java index eda14a75eb099..ba7bd74fa9529 100644 --- a/media/java/android/media/AudioTrack.java +++ b/media/java/android/media/AudioTrack.java @@ -908,8 +908,8 @@ public class AudioTrack } /** - * Returns the current playback params. - * See {@link #setPlaybackParams(PlaybackParams)} to set playback params + * Returns the current playback parameters. + * See {@link #setPlaybackParams(PlaybackParams)} to set playback parameters * @return current {@link PlaybackParams}. * @throws IllegalStateException if track is not initialized. */ @@ -1311,8 +1311,8 @@ public class AudioTrack /** - * Sets the playback params. - * This method returns failure if it cannot apply the playback params. + * Sets the playback parameters. + * This method returns failure if it cannot apply the playback parameters. * One possible cause is that the parameters for speed or pitch are out of range. * Another possible cause is that the AudioTrack is streaming * (see {@link #MODE_STREAM}) and the @@ -1321,7 +1321,7 @@ public class AudioTrack * {@link #getMinBufferSize(int, int, int)}) to allow proper playback. * @param params see {@link PlaybackParams}. In particular, * speed, pitch, and audio mode should be set. - * @throws IllegalArgumentException if the params are invalid or not accepted. + * @throws IllegalArgumentException if the parameters are invalid or not accepted. * @throws IllegalStateException if track is not initialized. */ public void setPlaybackParams(@NonNull PlaybackParams params) {