Instance Property

audioOutputDeviceUniqueID

Specifies the unique ID of the Core Audio output device used to play audio.

Declaration

var audioOutputDeviceUniqueID: String? { get set }

Discussion

The default value of this property is nil, indicating that the default audio output device is used. Otherwise the value of this property is a string containing the unique ID of the Core Audio output device to be used for audio output.

Core Audio's kAudioDevicePropertyDeviceUID is a suitable source of audio output device unique IDs.

See Also

Managing Audio Output

var isMuted: Bool

Indicates whether the audio output of the player is muted.

var volume: Float

The audio playback volume for the player, ranging from 0.0 through 1.0 on a linear scale.