Share via


AudioFormat.SampleRateUnspecified Field

Definition

Sample rate will be a route-dependent value.

[Android.Runtime.Register("SAMPLE_RATE_UNSPECIFIED", ApiSince=24)]
public const int SampleRateUnspecified = 0;
[<Android.Runtime.Register("SAMPLE_RATE_UNSPECIFIED", ApiSince=24)>]
val mutable SampleRateUnspecified : int

Field Value

Value = 0

Implements

Attributes

Remarks

Sample rate will be a route-dependent value. For AudioTrack, it is usually the sink sample rate, and for AudioRecord it is usually the source sample rate.

Java documentation for android.media.AudioFormat.SAMPLE_RATE_UNSPECIFIED.

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