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

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

Update android.media.AudioTrack.getTimestamp API documentation

Bug: 15320704
Change-Id: I5343ec3db1617b1b66f156fb4499ec44fc2381b8
parent b00cb8b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -816,6 +816,8 @@ public class AudioTrack
    *         with the estimated time when that frame was presented or is committed to
    *         be presented.
    *         In the case that no timestamp is available, any supplied instance is left unaltered.
    *         A timestamp may be temporarily unavailable while the audio clock is stabilizing,
    *         or during and immediately after a route change.
    */
    // Add this text when the "on new timestamp" API is added:
    //   Use if you need to get the most recent timestamp outside of the event callback handler.