Firstly, the surveyor can use an air filled metal bar lowered below the transducer, attached at each end by a rope marked with depth values.
Secondly, the surveyor can use a sound velocity probe that can be lowered into the water in the area to be surveyed to measure the actual speed of sound.