AudioFormat.SampleRate Property

Definition

Return the sample rate.

public virtual int SampleRate { [Android.Runtime.Register("getSampleRate", "()I", "GetGetSampleRateHandler")] get; }
[<get: Android.Runtime.Register("getSampleRate", "()I", "GetGetSampleRateHandler")>]
member this.SampleRate : int

Property Value

one of the values that can be set in Builder#setSampleRate(int) or #SAMPLE_RATE_UNSPECIFIED if not set.

Attributes

Remarks

Return the sample rate.

Java documentation for android.media.AudioFormat.getSampleRate().

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