AudioTrack: Update javadoc

Remove todo, audio TV metadata still pending final update for rvc-tv-dev.

AudioDeviceInfo.getEncapsulationModes suppresses return of
AudioTrack.ENCAPSULATION_MODE_NONE.

Test: make docs and check
Bug: 147778408
Change-Id: Ia7da6c3805e42f7a6b9a3b18d44f4c4ef92171a4
This commit is contained in:
Andy Hung
2020-06-19 17:57:07 -07:00
parent 9d431fbc70
commit c1bd8cbfd3
2 changed files with 2 additions and 3 deletions

View File

@@ -448,8 +448,7 @@ public final class AudioDeviceInfo {
* Returns an array of supported encapsulation modes for the device.
*
* The array can include any of the {@code AudioTrack} encapsulation modes,
* e.g. {@link AudioTrack#ENCAPSULATION_MODE_NONE},
* or {@link AudioTrack#ENCAPSULATION_MODE_ELEMENTARY_STREAM}.
* e.g. {@link AudioTrack#ENCAPSULATION_MODE_ELEMENTARY_STREAM}.
*
* @return An array of supported encapsulation modes for the device. This
* may be an empty array if no encapsulation modes are supported.

View File

@@ -280,7 +280,7 @@ public class AudioTrack extends PlayerBase
/**
* Encapsulation metadata type for framework tuner information.
*
* TODO(b/147778408) Link: Fill in Tuner API info.
* Refer to the Android Media TV Tuner API for details.
*/
public static final int ENCAPSULATION_METADATA_TYPE_FRAMEWORK_TUNER = 1;