Share via


MediaFormat.KeyAacDrcOutputLoudness Field

Definition

A key to retrieve the output loudness of a decoded bitstream.

[Android.Runtime.Register("KEY_AAC_DRC_OUTPUT_LOUDNESS", ApiSince=30)]
public const string KeyAacDrcOutputLoudness;
[<Android.Runtime.Register("KEY_AAC_DRC_OUTPUT_LOUDNESS", ApiSince=30)>]
val mutable KeyAacDrcOutputLoudness : string

Field Value

Attributes

Remarks

A key to retrieve the output loudness of a decoded bitstream.

If loudness normalization is active, the value corresponds to the Target Reference Level (see #KEY_AAC_DRC_TARGET_REFERENCE_LEVEL).<br> If loudness normalization is not active, the value corresponds to the loudness metadata given in the bitstream.

The value is retrieved with getInteger() and is given as an integer value between 0 and 231. It is calculated as -4 * Output Loudness in LKFS. Therefore, it represents the range of 0 to -57.75 LKFS.

A value of -1 indicates that no loudness metadata is present in the bitstream.

Loudness metadata can originate from MPEG-4 DRC or MPEG-D DRC.

This key is only used during decoding.

Java documentation for android.media.MediaFormat.KEY_AAC_DRC_OUTPUT_LOUDNESS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to