Closed ieatlint closed 13 years ago
There's a very simple fix in place that is not tied directly to time.
A timeOut is created whenever a card is swiped. While the variable contains a positive integer, data from the audio device will not be processed. Instead, it will simply decrement timeOut by one on each call. A timeOut of 10 data blocks seems to reasonably solve this problem, but I'll increase it if needed.
This will be a user-configurable delay once a settings deliague is in place.
In the event that a stream of bad audio ends up feeding into the application, an issue can occur where the program will endlessly do this:
Since the notifications can be modal, it can prevent the user from even being able to easily close the application. I've only run into this bug once, but it was rather annoying.