cloudedbats_wurb_2020 icon indicating copy to clipboard operation
cloudedbats_wurb_2020 copied to clipboard

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

Open arnoldandreasson opened this issue 3 years ago • 1 comments

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 avatar May 10 '21 21:05 arnoldandreasson

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.

arnoldandreasson avatar May 13 '21 09:05 arnoldandreasson