This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ALSA Question

Hi,

I am using OMAP35x EVM board with Linux 2.6.32 distribution. I am trying to do audio recording and playback. I used aplay as the base and were able to record and playback fine. When I integrated this part with my other program, audio recording or playback will run as a thread. I got overrun when doing audio capture and I got "GLIBC detected: free(): corrupted unsorted chunks: xxx" when I try to call snd_pcm_close. My question is if I get overrun condition, how do I recover? Is that true if overrun happened I can not call snd_pcm_close, or something else going on with my application?

Thanks.

 

Annie