From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: Clicking and stuttering audio when playing two or more files Date: Mon, 19 Jul 2010 09:59:37 +0100 Message-ID: <20100719085936.GB15693@rakim.wolfsonmicro.main> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 1EC9D243CA for ; Mon, 19 Jul 2010 10:59:38 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Adam Rosenberg Cc: alsa-devel@alsa-project.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org 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.