AVAudioEnvironmentDistanceAttenuationModel.linear
A linear model that describes the drop-off in gain as the source moves away from the listener.
Declaration
case linearDiscussion
The framework calculates this value as distanceGain = (1 – rolloffFactor * (distance – referenceDistance) / (maximumDistance – referenceDistance)).