alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Clicking and stuttering audio when playing two or more files
@ 2010-07-15 17:21 Adam Rosenberg
  2010-07-19  8:59 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Rosenberg @ 2010-07-15 17:21 UTC (permalink / raw)
  To: alsa-devel; +Cc: Mark Brown, Liam Girdwood

I have audio output perfectly from my second CS42448 CODEC now, but
only when one file is playing.  When I attempt to play two files, one
or both of the files play with clicking and stuttering.  I am also
noticing that the PCM prepare operation is occurring more than once.
What could be causing this problem?

HW settings are:
 buffer_bytes_max = 32768
 period_bytes min = 8 max = 32768
 periods      min = 1 max = 4096

PCM runtime is reporting:
 frames per period = 1114
 periods          = 2
 total frames   =   2228
 frame bytes   =    8

Thank you,
Adam

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Clicking and stuttering audio when playing two or more files
  2010-07-15 17:21 Clicking and stuttering audio when playing two or more files Adam Rosenberg
@ 2010-07-19  8:59 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2010-07-19  8:59 UTC (permalink / raw)
  To: Adam Rosenberg; +Cc: alsa-devel, Liam Girdwood

On Thu, Jul 15, 2010 at 01:21:47PM -0400, Adam Rosenberg wrote:
> I have audio output perfectly from my second CS42448 CODEC now, but
> only when one file is playing.  When I attempt to play two files, one
> or both of the files play with clicking and stuttering.  I am also

Clicks and stutters usually mean that you're not managing to keep the
data flowing into the audio controller quickly enough to keep it from
underrunning.

> noticing that the PCM prepare operation is occurring more than once.
> What could be causing this problem?

I'd expect prepare to be called for each data stream.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-19  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-15 17:21 Clicking and stuttering audio when playing two or more files Adam Rosenberg
2010-07-19  8:59 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).