Contents

obstruction

A value that simulates filtering of the direct path of sound due to an obstacle.

Declaration

var obstruction: Float { get set }

Discussion

The value of obstruction is in decibels. The system blocks only the direct path 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