The correct answer is adaptation.
In terms of psycho-physiology, adaptation refers to the phenomenon wherein our sensory system shows decreased responsiveness to sensations or sensory stimuli after prolonged exposure to them. In this instance, when Dave says that he doesn't notice the sound of traffic outside his apartment anymore, it is because after prolonged exposure to the traffic noise, his auditory system (hearing) has adapted to it.