Contents

allowedAudioSpatializationFormats

The source audio channel layouts the player item supports for spatialization.

Declaration

nonisolated var allowedAudioSpatializationFormats: AVAudioSpatializationFormats { get set }

Discussion

Spatialization uses psychoacoustic methods to create a more immersive audio experience when playing content on specialized headphones and speaker arrangements.

The default value for video content is monoStereoAndMultichannel, and multichannel for audio-only content. Your app can set a preferred spatialization format, but a user can change the audio spatialization behavior in Control Center.

This property isn’t key-value observable.

See Also

Configuring audio behavior