The old quantum theory yields a recipe for the quantization of the energy levels of the harmonic oscillator, which, when combined with the Boltzmann probability distribution of thermodynamics, yields the correct expression for the stored energy and specific heat of a quantum oscillator both at low and at ordinary temperatures. Applied as a model for the specific heat of solids, this resolved a discrepancy in pre-quantum thermodynamics that had troubled 19th-century scientists. Let us now describe this.