From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: Problem with MX27 ASoC audio Date: Wed, 18 Aug 2010 09:41:38 +0100 Message-ID: <20100818084137.GA26804@opensource.wolfsonmicro.com> References: <20100812125625.GA27749@pengutronix.de> <20100812150145.GC11362@sirena.org.uk> <4C690693.80706@eukrea.com> 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 77B2A24445 for ; Wed, 18 Aug 2010 10:41:21 +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: Randolph Chung Cc: alsa-devel@alsa-project.org, Sascha Hauer , Eric =?iso-8859-1?Q?B=E9nard?= List-Id: alsa-devel@alsa-project.org On Wed, Aug 18, 2010 at 03:53:16PM +0800, Randolph Chung wrote: > > Nonetheless, the system still doesn't behave properly when record and > > playback are happening at the same time. Here's a simple test: > Actually the problem is due to "mismatched" recording and playback > rates. My test was recording at 8kHz and playing back at 48kHz. The > codec driver only supports playback rate = capture rate. When the > playback starts the codec starts clocking at 48kHz which causes the > xruns. > Will see if the codec driver (tlv320aic3x) can be fixed up. If the CODEC has only a single LRCLK pin then it should be setting the symmetric_rates flag in its DAI. The core will then take care of the symmetry requirements for it.