cloudedbats_wurb_2020
cloudedbats_wurb_2020 copied to clipboard
Problems with "Warning: Time diff. detected. Rec. will be restarted".
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.
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.