Inelastic x-ray scattering measurements of phonons