All of lore.kernel.org
 help / color / mirror / Atom feed
* USB mic delay problem on OMAP4 PandaBoard
@ 2011-08-05  7:34 ABDUL MOIZ
  0 siblings, 0 replies; only message in thread
From: ABDUL MOIZ @ 2011-08-05  7:34 UTC (permalink / raw)
  To: alsa-devel

Hi,

       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
following problem:

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?

Regards,
Abdul Moiz

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-05  7:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05  7:34 USB mic delay problem on OMAP4 PandaBoard ABDUL MOIZ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.