A Boolean value that specifies whether playback rate adjustment is enabled for an audio player.
- iOS 5.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
To enable adjustable playback rate for an audio player, set this property to
YES after you initialize the player and before you call the
prepareToPlay instance method for the player.
Configuring and Controlling Playback
Plays a sound asynchronously.
Plays a sound asynchronously, starting at a specified point in the audio output device’s timeline.
Pauses playback; sound remains ready to resume playback from where it left off.
Stops playback and undoes the setup needed for playback.
Prepares the audio player for playback by preloading its buffers.
A Boolean value that indicates whether the audio player is playing (
YES) or not (
The playback volume for the audio player, ranging from
1.0 on a linear scale.
The audio player’s stereo pan position.
The audio player’s playback rate.
The number of times a sound will return to the beginning, upon reaching the end, to repeat playback.
The delegate object for the audio player.
A protocol that allows a delegate to respond to audio interruptions and audio decoding errors, and to the completion of a sound’s playback.
The audio player’s settings dictionary, containing information about the sound associated with the player.