Most likely they use the fact that the shot location moved, not the engine noise.
You could hear the firing pin hitting the cartridge (harder to hear than engine running) then you should hear the gasses exiting barrel somewhere around 0,001 second later. Then calculate doppler... Sounds kinda hard.