When a sound wave travels from air to a medium such as the eardrum, the frequency remains constant, but the speed and wavelength change. In air, sound travels at a certain speed, and when it reaches the denser medium (like the eardrum), the speed of sound decreases. Since the speed of sound and the wavelength are inversely related when the frequency remains constant, the wavelength must also change.
Thus, the correct response is:
Both the speed and the wavelength of the sound change.