Udostępnij za pośrednictwem


AudioTrack.MetricsConstants.Samplerate Field

Definition

Key to extract the sample rate for this track in Hz from the AudioTrack#getMetrics return value.

[Android.Runtime.Register("SAMPLERATE", ApiSince=28)]
public const string Samplerate;
[<Android.Runtime.Register("SAMPLERATE", ApiSince=28)>]
val mutable Samplerate : string

Field Value

Attributes

Remarks

Key to extract the sample rate for this track in Hz from the AudioTrack#getMetrics return value. The value is an int.

This member is deprecated. This does not work. Use AudioTrack#getSampleRate() instead.

Java documentation for android.media.AudioTrack.MetricsConstants.SAMPLERATE.

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