Contents

FixedSpatialAudio

A spatial experience that does not take user motion into account.

Declaration

struct FixedSpatialAudio

Overview

The lack of spatial tracking gives the impression of a “fixed” spatial experience locked to the user’s frame of reference.

// Configure an audio player with a fixed spatial audio experience.
myPlayer.intendedSpatialExperience = .fixed

For multi-channel experiences, you might also consider specifying the experience’s sound stage size if a system-specified size is not desirable.

// Configure an audio player with a fixed spatial audio experience
// that has a large sound stage size.
myPlayer.intendedSpatialExperience = .fixed(soundStageSize: .large)

Topics

Instance Properties