A note on the propagation of waves in a continuously layered medium