AVAudioPlayer.Rate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.