Share via


MediaFormat.KeyAacDrcHeavyCompression Field

Definition

A key describing the selection of the heavy compression profile for MPEG-4 DRC.

[Android.Runtime.Register("KEY_AAC_DRC_HEAVY_COMPRESSION")]
public const string KeyAacDrcHeavyCompression;
[<Android.Runtime.Register("KEY_AAC_DRC_HEAVY_COMPRESSION")>]
val mutable KeyAacDrcHeavyCompression : string

Field Value

Attributes

Remarks

A key describing the selection of the heavy compression profile for MPEG-4 DRC.

Two separate DRC gain sequences can be transmitted in one bitstream: light compression and heavy compression. When selecting the application of the heavy compression, one of the sequences is selected: <ul> <li>0 enables light compression,</li> <li>1 enables heavy compression instead. </ul> Note that heavy compression doesn't offer the features of scaling of DRC gains (see #KEY_AAC_DRC_BOOST_FACTOR and #KEY_AAC_DRC_ATTENUATION_FACTOR for the boost and attenuation factors), and frequency-selective (multiband) DRC. Light compression usually contains clipping prevention for stereo downmixing while heavy compression, if additionally provided in the bitstream, is usually stronger, and contains clipping prevention for stereo and mono downmixing.

The default is 1 (heavy compression).

This key is only used during decoding.

Java documentation for android.media.MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION.

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