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

Commit bff3dae8 authored by Dean Wheatley's avatar Dean Wheatley Committed by Mikhail Naganov
Browse files

Specify AudioTrack HWAVSync timestamp units as nanoseconds

Clarify the documentation by specifying the units of
the timestamp for the HWAVSync case

Bug: 63901775
Test: make
Change-Id: Ida39a3ee5e6b4b0d3255bfef95601890afd80709
parent b9df101c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2620,7 +2620,8 @@ public class AudioTrack extends PlayerBase
     *         to the audio sink.
     *     <BR>With {@link #WRITE_NON_BLOCKING}, the write will return immediately after
     *     queuing as much audio data for playback as possible without blocking.
     * @param timestamp The timestamp of the first decodable audio frame in the provided audioData.
     * @param timestamp The timestamp, in nanoseconds, of the first decodable audio frame in the
     *     provided audioData.
     * @return zero or the positive number of bytes that were written, or one of the following
     *    error codes.
     * <ul>