All of lore.kernel.org
 help / color / mirror / Atom feed
* underrun!!! (at least 1786051083.613 ms long)
@ 2008-07-28 16:26 Timur Tabi
  0 siblings, 0 replies; only message in thread
From: Timur Tabi @ 2008-07-28 16:26 UTC (permalink / raw)
  To: ALSA development

I have a driver that supports simultaneous playback and capture, but only if the
same size and sample rate are the same.

I use these commands to play and capture audio:

aplay -D hw:0,0 -t raw -f S24_BE -r 48000 -c 2 test2.raw
arecord -D hw:0,0 -t raw -f S24_BE -r 48000 -c 2 test.raw

If I start capture first and playback second, then everything works.  If I start
playback first and capture second, I get this:

underrun!!! (at least 1786051083.587 ms long)
underrun!!! (at least 1786051083.586 ms long)
underrun!!! (at least 1786051083.585 ms long)
underrun!!! (at least 1786051083.585 ms long)
...

This repeats indefinitely.

Can someone explain how this is even possible?  1786051083.585ms is longer than
20 days!  How could ALSA be so wrong about the extend of the underrun?

-- 
Timur Tabi
Linux kernel developer at Freescale

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

only message in thread, other threads:[~2008-07-28 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 16:26 underrun!!! (at least 1786051083.613 ms long) Timur Tabi

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.