Hi,
I am running ubuntu on beagleboard ,
Am getting error while capturing audio using arecord
"buffer overrun!!! "
Can any one point me how to solve this
Command used
arecord -d 10 -f cd -t wav -c 1 foobar.wav
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.
Hi,
I am running ubuntu on beagleboard ,
Am getting error while capturing audio using arecord
"buffer overrun!!! "
Can any one point me how to solve this
Command used
arecord -d 10 -f cd -t wav -c 1 foobar.wav
Hi Dibin,
You could start with checking whether the microphone is connected. If you not using pre-built images check if presents support of microphone and all audio settings. Could you post the whole output of the command then use dmesg -c for more detailed log.
BR
Tsvetolin Shulev
Hi Shulev,
Thanks for the response.
My recording is working , The problem is the voice break up when ever the overrun!!!! error shows off ,
I have tried with different buffer size and period time but no use,
After some seaching i saw in a thread since the out put file is written to memory card the card write speed may low.
Now am changing the memory card to sandisk.To make sure that there is no memory card performance issue.
I will post my results here as soon as i finish this expiriment.
Regards,
Dibin
Hi Renjith,
I have solved the problem , sorry for late post .
in kernel/sound/soc/omap/omap-pcm.c
static const struct snd_pcm_hardware omap_pcm_hardware
. .periods_min = 2 , changed to 16 ,
And now no more buffer overrun!! increase the minimum periods .
Dibin,
SalherTech
I have the audio capture problem with beagleboard-xm(Rev-C), when I run aplay, it works well, but when I capture auidio using arecord and play it using aplay, I can only hear noise. I do not know if it is something wrong with the ALSA control settings. Can you show me your ALSA control settings?
PS: my image is linux-2.6.32 from DVSDK, and I use the headset mic.
Thank you!