Contents

prepareToPlay()

Prepares the current queue for playback, interrupting any active (nonmixable) audio sessions.

Declaration

func prepareToPlay() async throws

Discussion

Call this function to ensure that the player buffers the starting entry in the queue and that the entry is ready to play.