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

Commit f16b211e authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am 00a82605: am f443c5ea: Merge "Minor corrections to the javadoc overview to...

am 00a82605: am f443c5ea: Merge "Minor corrections to the javadoc overview to reflect late API changes." into jb-dev

* commit '00a82605':
  Minor corrections to the javadoc overview to reflect late API changes.
parents e3fe0416 00a82605
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ import java.util.Map;
 * codec.start();
 * ByteBuffer[] inputBuffers = codec.getInputBuffers();
 * ByteBuffer[] outputBuffers = codec.getOutputBuffers();
 * Map<String, Object> format = codec.getOutputFormat();
 * MediaFormat format = codec.getOutputFormat();
 * for (;;) {
 *   int inputBufferIndex = codec.dequeueInputBuffer(timeoutUs);
 *   if (inputBufferIndex &gt;= 0) {
+2 −2
Original line number Diff line number Diff line
@@ -36,8 +36,8 @@ import java.util.Map;
 * extractor.setDataSource(...);
 * int numTracks = extractor.getTrackCount();
 * for (int i = 0; i &lt; numTracks; ++i) {
 *   Map%lt;String, Object&gt; format = extractor.getTrackFormat(i);
 *   String mime = (String)format.get("mime");
 *   MediaFormat format = extractor.getTrackFormat(i);
 *   String mime = format.getString(MediaFormat.KEY_MIME);
 *   if (weAreInterestedInThisTrack) {
 *     extractor.selectTrack(i);
 *   }