From: Takashi Iwai Subject: Re: Passing audio info from HDMI EDID beside speaker allocation Date: Mon, 08 Oct 2012 10:20:02 +0200 Message-ID: References: <506E832C.50702@codeaurora.org> 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 E3E3F2650F9 for ; Mon, 8 Oct 2012 10:20:02 +0200 (CEST) In-Reply-To: <506E832C.50702@codeaurora.org> 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: Patrick Lai Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Thu, 04 Oct 2012 23:50:20 -0700, Patrick Lai wrote: > > Hi Takashi, > > You proposed snd_pcm_query_chmaps() to query underlying hardware > speaker allocation. Please correct me if I have wrong understanding of > this API. On the other hand, HDMI EDID contains audio data other than > speaker allocation such as audio formats(LPCM, AC3, and etc). How are > these information other than speaker allocation passed back to the > user-space? Are there a standard kernel and alsa query interfaces now? In the case of HD-audio, it's passed via the normal IEC958 status bits controls separately. ELD itself is exposed as a byte array in a control element, but it's read-only. Takashi