Contents

prepareToPlay()

Prepares the player to play the sequence by prerolling all events.

Declaration

func prepareToPlay()

Discussion

The system automatically calls this method on playback, but calling it in advance minimizes the delay between calling play(_:) and the start of sound output.

See Also

Controlling playback