The attenuation of a transverse sound wave in a layered conductor with a quasi-two-dimensional dispersion relation of the charge carriers in a quantizing magnetic field is considered. The oscillatory dependence of the sound attenuation coefficient on the inverse magnetic field is analyzed, and the role of Joule losses in the absorption of energy from the sound wave by electrons is ascertained for different orientations of the magnetic field with respect to the plane of the layers.