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

Commit 8b520c8f authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Fix javadoc reference in AudioTrack write modes

Javadoc for blocking/non blocking write modes was referring
 to the old signature of one of the write methods.

Change-Id: Ie919e3e0a976b0c915dacd490ae66005703789a3
parent 96567e21
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -173,13 +173,13 @@ public class AudioTrack

    /**
     * The write mode indicating the write operation will block until all data has been written,
     * to be used in {@link #write(ByteBuffer, int, int, int)}.
     * to be used in {@link #write(ByteBuffer, int, int)}
     */
    public final static int WRITE_BLOCKING = 0;
    /**
     * The write mode indicating the write operation will return immediately after
     * queuing as much audio data for playback as possible without blocking, to be used in
     * {@link #write(ByteBuffer, int, int, int)}.
     * {@link #write(ByteBuffer, int, int)}.
     */
    public final static int WRITE_NON_BLOCKING = 1;