On the thermodynamic theory of waves of finite longitudinal disturbance