AudioPlayer

public final actor AudioPlayer

An object that provides the interface to control audio playback.

  • Create an audio player object.

    Declaration

    Swift

    public init(audioEngine: AVAudioEngine)