Contents

occlusion

A value that simulates filtering of the direct and reverb paths of sound due to an obstacle.

Declaration

var occlusion: Float { get set }

Discussion

The value of obstruction is in decibels. The system blocks the direct and reverb paths of sound between the source and listener.

The default value is 0.0, and the range of valid values is -100 to 0. Only the AVAudioEnvironmentNode class implements this property.

See Also

Getting the 3D Mixing Parameters