esdalmaijer / PyTribe

Python wrapper for the EyeTribe SDK
GNU General Public License v3.0
27 stars 18 forks source link

Unlogged samples on relatively slow systems #3

Closed esdalmaijer closed 9 years ago

esdalmaijer commented 9 years ago

Some samples are not written to the log file, resulting in shorter recordings. This is likely due to calls to flush and fsync during the logging, which seems to be too slow on HDD with low writing speeds (problem did not occur with SSD drives).

Solution: move flush and fsync calls to stop_recording.

esdalmaijer commented 9 years ago

Solved with the latest commit.