From: Takashi Iwai Subject: Re: [RFC PATCH 2/2] ASoC: add compress stream support Date: Thu, 02 Aug 2012 21:31:41 +0200 Message-ID: References: <1343716900-23491-1-git-send-email-vinod.koul@linux.intel.com> <1343716900-23491-3-git-send-email-vinod.koul@linux.intel.com> <20120802180926.GL4537@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 4C416266000 for ; Thu, 2 Aug 2012 21:31:40 +0200 (CEST) In-Reply-To: <20120802180926.GL4537@opensource.wolfsonmicro.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: Mark Brown Cc: Vinod Koul , alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, ramesh.babu@intel.com, namartax.kohli@intel.com, lrg@ti.com List-Id: alsa-devel@alsa-project.org At Thu, 2 Aug 2012 19:09:27 +0100, Mark Brown wrote: > > On Tue, Jul 31, 2012 at 12:11:40PM +0530, Vinod Koul wrote: > > From: Namarta Kohli > > > > This patch adds the support to parse the compress dai's and then also adds the > > soc-compress.c file while handles the compress stream operations, mostly analogous > > to what is done in the soc-pcm.c and additional handling of the compress > > operations > > This is all mostly fine, though it's very sad that there's so much code > duplication between this and the regular PCM streams. Yeah, it's a generic issue in the compress API, too. The design is a kind of fork from PCM. We can consider a bit more consolidation in the core part as well in future. Takashi