Partager via


AudioManager.PropertyOutputSampleRate Field

Definition

Used as a key for #getProperty to request the native or optimal output sample rate for this device's low latency output stream, in decimal Hz.

[Android.Runtime.Register("PROPERTY_OUTPUT_SAMPLE_RATE")]
public const string PropertyOutputSampleRate;
[<Android.Runtime.Register("PROPERTY_OUTPUT_SAMPLE_RATE")>]
val mutable PropertyOutputSampleRate : string

Field Value

Attributes

Remarks

Used as a key for #getProperty to request the native or optimal output sample rate for this device's low latency output stream, in decimal Hz. Latency-sensitive apps should use this value as a default, and offer the user the option to override it. The low latency output stream is typically either the device's primary output stream, or another output stream with smaller buffers.

Java documentation for android.media.AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE.

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