diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2014-05-07 11:11:06 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2014-05-07 12:10:06 -0700 |
commit | a713814f17ccbf5bb63d1fbb75bc5cda7a0cc641 (patch) | |
tree | f5a5047655ab57ae4561999f086ee564baf767ce /media/java | |
parent | 2322ae82e9bbd0683eb86ae0f70050e76e44a30d (diff) | |
download | frameworks_base-a713814f17ccbf5bb63d1fbb75bc5cda7a0cc641.zip frameworks_base-a713814f17ccbf5bb63d1fbb75bc5cda7a0cc641.tar.gz frameworks_base-a713814f17ccbf5bb63d1fbb75bc5cda7a0cc641.tar.bz2 |
Unhide AudioTrack.write() method for non-blocking and ByteBuffer
Unhide the write mode constants.
Unhide the write method where data is stored in a ByteBuffer.
Bug 7919023
Change-Id: Ie9e24c744067f164d1a3e3363c7718b0a70e1cae
Diffstat (limited to 'media/java')
-rw-r--r-- | media/java/android/media/AudioTrack.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/media/java/android/media/AudioTrack.java b/media/java/android/media/AudioTrack.java index 1899685..4fe4eb8 100644 --- a/media/java/android/media/AudioTrack.java +++ b/media/java/android/media/AudioTrack.java @@ -172,13 +172,11 @@ public class AudioTrack public @interface WriteMode {} /** - * @hide CANDIDATE FOR PUBLIC API * 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)}. */ public final static int WRITE_BLOCKING = 0; /** - * @hide CANDIDATE FOR PUBLIC API * 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)}. @@ -1220,7 +1218,6 @@ public class AudioTrack /** - * @hide CANDIDATE FOR PUBLIC API * Writes the audio data to the audio sink for playback (streaming mode), * or copies audio data for later playback (static buffer mode). * In static buffer mode, copies the data to the buffer starting at its 0 offset, and the write |