Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of errors when saving user settings #81

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

sbeckman
Copy link
Contributor

This change will cause the next attempt to write the user settings file when there is a file write error to be delayed by 30 seconds,

For example, if the user decides to write protect the user settings file to reduce wear on the sd card, the code will detect the error and return with the settings_updated flag cleared. However the last_save_at variable was not getting updated during the handling of this error, so the function could be called again immediately.

Fix for high CPU usage and audio dropouts. Includes a define to enable debugging messages.
Changed the level of rigor from FFTW_ESTIMATE to FFTW_MEASURE in order to resolve an issue where the FFTW library would sometime make a bad choice about the FFT algorithm to use.

Added support for Wisdom files so that the FFTW library does not have to spend time picking the algorithm.
Changed the level of rigor from FFTW_ESTIMATE to FFTW_MEASURE in order to resolve an issue where the FFTW library would sometimes make a bad choice about the FFT algorithm to use.

Added support for Wisdom files so that the FFTW library does not have to spend time picking the algorithm.
…ite user settings

This change will cause the next attempt to write the user settings file when there is a file write error.

For example, if the user decides to write protect the user settings file to reduce wear on the sd card, the code will detect the error and return with the settings_updated flag cleared. However the last_save_at variable was not getting updated during the handling of this error, so the function could be called again immediately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant