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

Problems with "Warning: Time diff. detected. Rec. will be restarted". #38

Open
arnoldandreasson opened this issue May 10, 2021 · 1 comment
Milestone

Comments

@arnoldandreasson
Copy link
Member

This seems to be related to missing ALSA frames. There is a calculated timestamp based on received numbers of frames and that one is compared to real time.

A possible solution is to read smaller blocks of frames from ALSA.

@arnoldandreasson arnoldandreasson added this to the Release 0.9.1 milestone May 13, 2021
@arnoldandreasson
Copy link
Member Author

By setting buffer size to 4096 frames instead of reading frames for 0.5 sec also solved problems that I thought was related to audio feedback. Conclusion: ALSA works better with smaller buffer compared to the lib that I used earlier.

The fix is available in the master branch for test. Assigned to milestone 0.9.1.

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

No branches or pull requests

1 participant