Instance Property

distanceAttenuationModel

The distance attenuation model describing the drop-off in gain as the source moves away from the listener.

Declaration

var distanceAttenuationModel: AVAudioEnvironmentDistanceAttenuationModel { get set }

Discussion

The default value is the AVAudioEnvironmentDistanceAttenuationModel.inverse attenuation model.

See Also