A few snorkels have float - operated valves attached to the top end of the tube to keep water out when a wave passes , but these cause problems when diving as the snorkel must then be equalised during descent , using part of the diver 's inhaled air supply .