Closed vincentbernat closed 4 years ago
The delay could also be used to sleep on close. Otherwise, I get the impression that closing the serial port resets the arduino.
Thanks for the improvements and fixes. I also found that closing the port reset the arduino.
I am pushing another PR for this close problem.
This has been superseded by SerialPassthrough.ino
. Not possible to estimate the delay anymore.
In play.py, we compare the current elapsed real time with the elapsed play time to estimate a delay, display it and display the number of underflows we get from it. Here is a notably difficult example:
http://vgmrips.net/packs/pack/star-wars-x-wing-ibm-pc-at#02-opening-crawl
Despite a buffer of 1KiB, we still get many underflows, with delays up to 1.5s.