Instance Property


Identifies the sound’s output device


var playbackDeviceIdentifier: NSSound.PlaybackDeviceIdentifier? { get set }

See Also

Configuring Sounds

var name: NSSound.Name?

The name assigned to the sound.

var volume: Float

The volume of the sound.

var currentTime: TimeInterval

The sound’s playback progress, in seconds.

var loops: Bool

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content.