Apply Snell's law for refraction.
and 
Set index of refraction=1 in the faster medium:
and 
Then 
For sound going from air to water, total internal reflection occurs at
This is the opposite of light, which can experience total internal reflection when going from water to air. This occurs because light is faster in air than water, but sound is the opposite.