From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Alsa handling of spdif bits (was Re: Questions to HDSP users) Date: Mon, 09 Feb 2004 11:52:25 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <402378E0.2060708@undata.org> <4023932E.3090107@undata.org> <4023E72C.5040904@undata.org> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [195.135.220.2]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id LAA00503 for ; Mon, 9 Feb 2004 11:52:27 +0100 In-Reply-To: <4023E72C.5040904@undata.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Thomas Charbonnel Cc: Jesse Chappell , ALSA development List-Id: alsa-devel@alsa-project.org At Fri, 06 Feb 2004 20:12:44 +0100, Thomas Charbonnel wrote: > > >> so I'm back with my > >>question concerning amixer : all the 'value' fields of IEC ctls show a > >>question mark. Is this a problem with the driver ? If not what would be > >>the syntax to access those ctls ? > > > > > > amixer doesn't handle IEC958 status properly. > > > > > > IIUC, this ctl is supposed to be used for example by DVD playing > applications so that the fact they may temporary require the Non-Audio > bit to be set for AC3 passthru does not interfere with the user settings ? yes and no. these bits are set as the parameters of PCM hook plugin. you can open an spdif PCM with parameters like iec958:{AES0=XXX,AES1=XXX,AES2=XXX,AES3=XXX} to pass the proper status bits (this will change "IEC958 Plaback PCM Stream" usually). xine and mplayer pass these parameters at the open time. but my statement above means that amixer doesn't display/parse correctly this data type (iec958). it's just a missing feature of amixer. it'd be better if amixer handles it correctly. > If so I'll keep this ctl and implement it properly. > > Anyway thanks for clarifying, it was much needed :) well, this should be more better documented. (the patch to the doc is also welcome, BTW ;) ciao, Takashi ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn