From: Takashi Iwai Subject: Re: Wrong channel order with multichannel HDMI on NVIDIA MCP7A Date: Tue, 03 Aug 2010 22:52:21 +0200 Message-ID: References: <201007251951.39362.anssi.hannula@iki.fi> <201007280542.09231.anssi.hannula@iki.fi> <201007291741.15187.anssi.hannula@iki.fi> <201008032201.47487.anssi.hannula@iki.fi> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 62EC42440A for ; Tue, 3 Aug 2010 22:52:22 +0200 (CEST) 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: pl bossart Cc: Anssi Hannula , alsa-devel@alsa-project.org, Wei Ni List-Id: alsa-devel@alsa-project.org At Tue, 3 Aug 2010 13:15:28 -0700, pl bossart wrote: > > > Well, this is one of my looong-standing TODOs. > > Originally I wanted to implement a new API to get/set the > > channel-mapping, mainly for HDMI. > > But, I've been recently too busy for other tasks (I can spend little > > time for ALSA), thus it's pending forever. > > You would only need an API to get the channel mapping. The HDMI sink > will report its speaker configuration through a CEA code (section 7.4 > of the spec), and if we parsed the EDID info we could present the > relevant channel order to user-space apps. But if the hardware is capable of channel-remapping (the intel hdmi code actually does even now), it's better as it works without any software-side channel swaps. Ditto for analog surrounds. Of course, setting the channel-map is optional. The first step is to provide the API to get the map. Takashi