Share via


LoudnessCodecController.GetLoudnessCodecParams(MediaCodec) Method

Definition

Returns the loudness parameters of the registered audio decoders

[Android.Runtime.Register("getLoudnessCodecParams", "(Landroid/media/MediaCodec;)Landroid/os/Bundle;", "GetGetLoudnessCodecParams_Landroid_media_MediaCodec_Handler", ApiSince=35)]
public virtual Android.OS.Bundle GetLoudnessCodecParams (Android.Media.MediaCodec mediaCodec);
[<Android.Runtime.Register("getLoudnessCodecParams", "(Landroid/media/MediaCodec;)Landroid/os/Bundle;", "GetGetLoudnessCodecParams_Landroid_media_MediaCodec_Handler", ApiSince=35)>]
abstract member GetLoudnessCodecParams : Android.Media.MediaCodec -> Android.OS.Bundle
override this.GetLoudnessCodecParams : Android.Media.MediaCodec -> Android.OS.Bundle

Parameters

mediaCodec
MediaCodec

codec that decodes loudness annotated data. Has to be added with #addMediaCodec(MediaCodec) before calling this method

Returns

the Bundle containing the current loudness parameters.

Attributes

Remarks

Returns the loudness parameters of the registered audio decoders

Those parameters may have been automatically applied if the LoudnessCodecController was created with #create(int), or they are the parameters that have been sent to the OnLoudnessCodecUpdateListener if using a codec update listener.

Java documentation for android.media.LoudnessCodecController.getLoudnessCodecParams(android.media.MediaCodec).

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