[alsa-devel] underrun problem when short audio play

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 16 15:01:37 CET 2010

On Tue, Mar 16, 2010 at 01:46:20PM +0000, ANISH KUMAR wrote:
> <HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
> <META http-equiv=Content-Type content="text/html; charset=windows-1252">

You appear to have reset your MUA to HTML mode...

> <P>&gt;Are&nbsp;you&nbsp;sure&nbsp;that&nbsp;the <BR>&gt;drivers&nbsp;you&nbsp;are&nbsp;using&nbsp;implement&nbsp;suspend&nbsp;and&nbsp;resume&nbsp;at&nbsp;all?&nbsp;&nbsp;</P>
> <P>I am using s3c6410 code.I2S driver has suspend/resume call(jassi brar maintained).</P>
> <P>Audio codec is also having generic code for suspend/resume but don't know if that is</P>
> <P>the problem or not.However how can i verify if my codec suspend/resume has got some </P>
> <P>problem?Most likely my codec has got some configuration problems but i am not getting </P>
> <P>any pointers to debug it.Any pointers in this direction would be very helpful.</P></BODY></HTML>

It's difficult to offer any specific advice for the CODEC without any
visibility of either the hardware or the driver.  In general you want to
look at what happens to the hardware when the playback has problems (do
any clocks stop or anything - presumably there is some hardware
change?), then work back from there.  Might be worth trying suspend and
resume with playback running to see if that has any impact too.

It's possible that there is an issue in the CPU driver as well, I don't
know what the testing status is there.  Things like suspend and resume
during activity won't always get tested, and your case with record
running is definitely fairly obscure.

More information about the Alsa-devel mailing list