From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tabi Timur-B04825 Subject: Re: [PATCH] ASoC: imx-ssi: Fix mono playback Date: Tue, 7 Aug 2012 12:00:14 +0000 Message-ID: <5021034D.9080307@freescale.com> References: <1344281785-22478-1-git-send-email-fabio.estevam@freescale.com> <20120806195438.GD16199@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe005.messaging.microsoft.com [216.32.180.188]) by alsa0.perex.cz (Postfix) with ESMTP id C3D76265EC2 for ; Tue, 7 Aug 2012 13:30:34 +0200 (CEST) In-Reply-To: Content-Language: en-US Content-ID: <1CCFEEB2D775AC4091B0173447DB2BE9@mgd.freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Trent Piepho Cc: "alsa-devel@alsa-project.org" , Estevam Fabio-R49496 , Mark Brown , "kernel@pengutronix.de" , Fabio Estevam , "gcembed@gmail.com" List-Id: alsa-devel@alsa-project.org Trent Piepho wrote: > It depends on the codec connected to the I2S. We have SSI that works > in mono mode, using a modified driver. Our codec allows mono playback > by only using the samples on the left channel. I would *love* to see that driver. > There is the race issue in that playback and record must both match > mono and stereo and ALSA doesn't handle substreams with constraints > that depend on other substreams in a race free manner. Isn't that only a problem if both streams are opened literally simultaneously? I would assume that most apps will open one stream at a time. -- Timur Tabi Linux kernel developer at Freescale