Rolloff is the amount of attenuation that is applied to sounds, based on the listener's distance from the sound source. DirectSound can apply to a sound up to 10 times the rolloff experienced in the real world by setting a rolloff factor. To set this factor, use the IDirectSound3DListener::SetRolloffFactor method. The rolloff factor can range from 0 to 10. A value of 0 means no rolloff is applied to a sound. Every other value represents a multiple of the rolloff experienced in the real world. In other words, a value of 1 means the rolloff experienced in the real world is applied to the sound; a value of 2 means two times the rolloff experienced in the real world, and so on. To retrieve the rolloff factor, use the IDirectSound3DListener::GetRolloffFactor method.