You are listening to an A note played on a violin string. Let the subscript s refer to the violin string and a refer to the air. Then:
Frequencies of air and string is same because the source is same. Air and the string are two different medium so there velocities will also different. Hence the wavelength has to be different.