Acoustic levitation and the Boltzmann–Ehrenfest principle