AudioDecoderConfig
The AudioDecoderConfig defines all the attributes required for audio decode use case.
Applications should create this class to query the audio decoders supported on the device.
Constructors
new AudioDecoderConfig()
new AudioDecoderConfig():
AudioDecoderConfig
Returns
Accessors
audioFormat
Get Signature
get audioFormat():
AudioFormat
Returns
set using the setter.
Set Signature
set audioFormat(
format
):void
Sets the AudioFormat.
This can be used to query on different properties supported by the audio codecs on the device.
See
AudioFormat for further details
Parameters
format
Returns
void
codecFeatures
Get Signature
get codecFeatures():
DecoderFeatures
Returns
set by the setter.
Set Signature
set codecFeatures(
features
):void
Sets the DecoderFeatures.
This can be used to query on decoder features like decryption.
See
DecoderFeatures for further details.
Parameters
features
Returns
void
formatProfileLevel
Get Signature
get formatProfileLevel():
MediaFormatProfileLevel
Returns
set using the setter.
Set Signature
set formatProfileLevel(
profileLevel
):void
Sets the MediaFormatProfileLevel.
This can be used to query on the profile levels supported.
See
MediaFormatProfileLevel for further details
Parameters
profileLevel
Returns
void
mediaCodecFeatures
Get Signature
get mediaCodecFeatures():
MediaCodecFeatures
Returns
set using setter.
Set Signature
set mediaCodecFeatures(
features
):void
Sets the MediaCodecFeatures.
This can be used to query on media codec features supported by the device.
See
MediaCodecFeatures for more details.
Parameters
features
Returns
void
mediaFormat
Get Signature
get mediaFormat():
MediaFormat
Returns
set using the setter.
Set Signature
set mediaFormat(
format
):void
Sets the MediaFormat.
This can be used to query on the format of the media supported by the device.
See
MediaFormat for further details.
Parameters
format
Returns
void
Last updated: Sep 30, 2025