[alsa-devel] USB mic delay problem on OMAP4 PandaBoard
abdulmoiz786 at gmail.com
Fri Aug 5 09:34:15 CEST 2011
I am working on OMAP4 platform (Panda Board) using ubuntu
10.10(kernel: 2.6.35) and recording audio with USB mic and getting the
When I am recording with the arecord utility as shown below:
*$ arecord -Dplughw:1,0 -f cd foo.wav
audio is recorded with XRUN.
So we have tested by changing buffer size and period size as shown below,
*$ arecord -Dplughw:1,0 -f cd --buffer-size=65536 --period-size=128 foo.wav
and we are getting good recorded audio quality.
I found from other posts that buffer-size of 65536 is very large and it
should work with size of only 1024. same usb mic works without xruns on my
desktop with buffer size 1024.
The problem is that the application has to be told to use insanely large
buffers in order to avoid xruns. I suspect the problem is either in the
kernel (possibly just a misconfiguration) or in hardware.
So Can anyone suggest, how to solve the above problem?
More information about the Alsa-devel