Sdílet prostřednictvím


MediaCodecInfo.AudioCapabilities.IsSampleRateSupported(Int32) Method

Definition

Query whether the sample rate is supported by the codec.

[Android.Runtime.Register("isSampleRateSupported", "(I)Z", "")]
public bool IsSampleRateSupported (int sampleRate);
[<Android.Runtime.Register("isSampleRateSupported", "(I)Z", "")>]
member this.IsSampleRateSupported : int -> bool

Parameters

sampleRate
Int32

Returns

Attributes

Remarks

Query whether the sample rate is supported by the codec.

Java documentation for android.media.MediaCodecInfo.AudioCapabilities.isSampleRateSupported(int).

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