Change sound data length to packet size