Numerical analysis of the lattice Boltzmann method for simulation of linear acoustic waves.