The Effects of Acoustic-Gravity Waves on the KI 7699 Line