diff --git a/media/java/android/media/MediaFormat.java b/media/java/android/media/MediaFormat.java index 169502b68162a..a2eb8d99ee2fa 100644 --- a/media/java/android/media/MediaFormat.java +++ b/media/java/android/media/MediaFormat.java @@ -26,7 +26,7 @@ import java.util.Map; * * The format of the media data is specified as string/value pairs. * - * Keys common to all formats: + * Keys common to all formats, all keys not marked optional are mandatory: * *
| Name | Value Type | Description |
|---|---|---|
| {@link #KEY_SAMPLE_RATE} | Integer | |
| {@link #KEY_IS_ADTS} | Integer | optional, if decoding AAC audio content, setting this key to 1 indicates that each audio frame is prefixed by the ADTS header. |
| {@link #KEY_AAC_PROFILE} | Integer | encoder-only, optional, if content is AAC audio, specifies the desired profile. |
| {@link #KEY_CHANNEL_MASK} | Integer | A mask of audio channel assignments |
| {@link #KEY_CHANNEL_MASK} | Integer | optional, a mask of audio channel assignments |
| {@link #KEY_FLAC_COMPRESSION_LEVEL} | Integer | encoder-only, optional, if content is FLAC audio, specifies the desired compression level. |