The arrest of a gunman accused of going on a deadly rampage against white people in Fresno, California, was made with the help of technology that can detect the sound of gunfire and help police zero in on the source.