ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
jplitza opened this issue · 2 comments
jplitza commented
I am getting the above mentioned error when playing short 8kHz mono wave files, once per play. Also, at the end of the sound, it kind of starts playing again or something like that. Is there anything that I can do against that?
hamiltron commented
Thank you for the feedback! Sounds like a possible buffer size issue. Can you send me the audio file and the code you're using to play it? Also, what OS and hardware are you using?
jplitza commented
Sure, here's the file (zipped because of Github's upload policies).
The hardware is a Raspberry Pi (bcm2835) with Raspbian Jessie 8.0.
And let me add that aplay for example doesn't have this problem.