alsa: audio recording stops after a short time

Issue #361 resolved
Trek Hopton created an issue

While recording PCM audio sometimes the alsa device in revid will crash. Only a few seconds of audio will be uploaded to the cloud and the service needs to be restarted in order to begin recording again.

It seems like this is happening in the alsa read function and my suspicion is that it is because the code was tested with the old ring buffer and since switching to the pool buffer it isn’t working the same. The alsa code should be looked at to see that the pool buffer is being used correctly and the errors are being properly handled.

Comments (1)

  1. Log in to comment