Contents

distanceAttenuationModel

The distance attenuation model that describes 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

Getting and Setting the Attenuation Model