altosui: Prevent voice altitude data from queueing up
authorKeith Packard <keithp@keithp.com>
Sun, 5 Sep 2010 08:21:14 +0000 (01:21 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 5 Sep 2010 08:21:14 +0000 (01:21 -0700)
commit9941b05a1d03dafd6cd899b5fe999ed769efb1d6
tree090ace5208ff806cfac0f4c23b65579e215a287d
parent4dec5c36702d76dc95beada7c1d3222a638a2cbb
altosui: Prevent voice altitude data from queueing up

When flight status changes rapidly, the queue of voice data can get
quite long. This change does two things -- first, it remembers when
the altitude reporting happens due to flight events and delays the
periodic reporting until a suitable time after that, second it ensures
that the voice data has all been delivered before generating a new
altitude report.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosUI.java