summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-09-04 13:47:31 -0700
committerEric Laurent <elaurent@google.com>2013-09-06 19:11:29 -0700
commit5e8f278f083f6a75cb6d1b09671c335156f93d1b (patch)
treef5795146bd70ecc56c4e457e907001f1285bb92b /media
parent82975e40083b86d2619ffa60ff7351928ec35978 (diff)
downloadframeworks_base-5e8f278f083f6a75cb6d1b09671c335156f93d1b.zip
frameworks_base-5e8f278f083f6a75cb6d1b09671c335156f93d1b.tar.gz
frameworks_base-5e8f278f083f6a75cb6d1b09671c335156f93d1b.tar.bz2
Unhide AudioTimestamp and getTimestamp
Change-Id: I56687f42f83c4be7dc3fd1baa81a13e71113f22e
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/AudioTimestamp.java3
-rw-r--r--media/java/android/media/AudioTrack.java5
2 files changed, 1 insertions, 7 deletions
diff --git a/media/java/android/media/AudioTimestamp.java b/media/java/android/media/AudioTimestamp.java
index 437a0c6..965ba85 100644
--- a/media/java/android/media/AudioTimestamp.java
+++ b/media/java/android/media/AudioTimestamp.java
@@ -26,9 +26,6 @@ package android.media;
* is available to the system, but cannot account for any delay unknown to the implementation.
*
* @see AudioTrack#getTimestamp
- * @see AudioTrack.TimestampListener
- *
- * @hide
*/
public final class AudioTimestamp
{
diff --git a/media/java/android/media/AudioTrack.java b/media/java/android/media/AudioTrack.java
index 88539f28..788257d 100644
--- a/media/java/android/media/AudioTrack.java
+++ b/media/java/android/media/AudioTrack.java
@@ -735,8 +735,7 @@ public class AudioTrack
/**
* Poll for a timestamp on demand.
*
- * Use if {@link TimestampListener} is not delivered often enough for your needs,
- * or if you need to get the most recent timestamp outside of the event callback handler.
+ * Use if you need to get the most recent timestamp outside of the event callback handler.
* Calling this method too often may be inefficient;
* if you need a high-resolution mapping between frame position and presentation time,
* consider implementing that at application level, based on low-resolution timestamps.
@@ -756,8 +755,6 @@ 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.
- *
- * @hide
*/
public AudioTimestamp getTimestamp(AudioTimestamp timestamp)
{