Measurements of speed of sound in a gas-filled acoustic resonator