Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8c82a37 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix AOSP issue 9742: Documentation inconsistancy [sic] in AudioTrack

See https://code.google.com/p/android/issues/detail?id=9742

Change-Id: I7e1fe0c3ac6e3b9367e4815097549250778766fa
parent 8e251dc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1062,7 +1062,7 @@ public class AudioTrack
     * @param audioData the array that holds the data to play.
     * @param offsetInShorts the offset expressed in shorts in audioData where the data to play
     *     starts.
     * @param sizeInShorts the number of bytes to read in audioData after the offset.
     * @param sizeInShorts the number of shorts to read in audioData after the offset.
     * @return the number of shorts that were written or {@link #ERROR_INVALID_OPERATION}
      *    if the object wasn't properly initialized, or {@link #ERROR_BAD_VALUE} if
      *    the parameters don't resolve to valid data and indexes.