Udostępnij za pośrednictwem


AudioTrack.MinVolume Property

Definition

Returns the minimum gain value, which is the constant 0.

public static float MinVolume { [Android.Runtime.Register("getMinVolume", "()F", "")] get; }
[<get: Android.Runtime.Register("getMinVolume", "()F", "")>]
static member MinVolume : single

Property Value

the minimum value, which is the constant 0.0.

Attributes

Remarks

Returns the minimum gain value, which is the constant 0.0. Gain values less than 0.0 will be clamped to 0.0.

The word "volume" in the API name is historical; this is actually a linear gain.

Java documentation for android.media.AudioTrack.getMinVolume().

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