From: Takashi Iwai Subject: Re: Required/preferred multichannel order for ALSA Date: Fri, 27 Apr 2012 14:15:57 +0200 Message-ID: References: <4F99BF45.4020909@ti.com> <1335518497.4150.6.camel@odin> <20120427095734.GC18260@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 B178B10459D for ; Fri, 27 Apr 2012 14:15:57 +0200 (CEST) In-Reply-To: <20120427095734.GC18260@opensource.wolfsonmicro.com> 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: Mark Brown Cc: "Castaneda Gonzalez, Axel" , alsa-devel , Ricardo Neri , Peter Ujfalusi , "Guiriec, Sebastien" , Liam Girdwood List-Id: alsa-devel@alsa-project.org At Fri, 27 Apr 2012 10:57:34 +0100, Mark Brown wrote: > > On Fri, Apr 27, 2012 at 10:21:37AM +0100, Liam Girdwood wrote: > > > A lot of hardware now can remap channels to suit the use case so it > > would probably be good to have an ALSA API to get/set the mappings. > > As well as being able to reorder things there's also the cases where a > multi-channel link can be assigned to send several independant streams > rather than actually be a multi-channel link. True. OTOH, separating to different streams can be done mostly without extra configuration. The driver may neeed to handle the open/close race, but basically splitting can be done uniquely just by the number of channels. Of course, there might be other excpetions and corner cases, though. Takashi