In ocean acoustics the speed of sound $c$ can often include an imaginary component that accounts for attenuation due to the nature of the medium. That is, $c = c_r - ic_i$ with $c_r$ the regular sound speed and $c_i$ the attenuation. Jensen, et.al. 2011 elaborate on this expression in section 1.5.1 of their textbook.
Another definition of sound speed is $$c^2 = \frac{K}{\rho}$$ where $K$ is the fluid bulk modulus of the medium, and $\rho$ is the medium density.
Is the complex-valued sound speed meant to be compatible with this latter definition? Or is the complex-valued sound speed just another convenient way to include attenuation in the equations that it is involved in?