MediaFormat.KeyAacMaxOutputChannelCount Field

Definition

A key describing the maximum number of channels that can be output by the AAC decoder.

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

Field Value

Attributes

Remarks

A key describing the maximum number of channels that can be output by the AAC decoder. By default, the decoder will output the same number of channels as present in the encoded stream, if supported. Set this value to limit the number of output channels, and use the downmix information in the stream, if available.

Values larger than the number of channels in the content to decode behave just like the actual channel count of the content (e.g. passing 99 for the decoding of 5.1 content will behave like using 6).

This key is only used during decoding.

This member is deprecated. Use the non-AAC-specific key #KEY_MAX_OUTPUT_CHANNEL_COUNT instead

Java documentation for android.media.MediaFormat.KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT.

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