Modes for processing audio resources.


enum AudioResource.InputMode


Input Modes

case nonSpatial

Not spatialized.

case spatial

Spatialized, taking into account both listener position and orientation.

case ambient

Spatialized, but ignoring listener position, and accounting only for user orientation.

Comparing Input Modes

func hash(into: inout Hasher)

Hashes the essential components of the input modes by feeding them into the given hash function.

var hashValue: Int

The hashed value of the input mode.

See Also

Specifying an Input Mode

var inputMode: AudioResource.InputMode

The input mode used by an audio resource.