Düzenle

Aracılığıyla paylaş


AVAudioPlayer.Rate Property

Definition

The playback rate relative to the source sound.

public virtual float Rate { [Foundation.Export("rate")] get; [Foundation.Export("setRate:")] set; }
member this.Rate : single with get, set

Property Value

The default value is 1.0. A value of 0.5 is half-speed, a value of 2.0 is double-speed.

Attributes

Remarks

Application developers must additionally set EnableRate to true to manipulate this property.

Applies to