From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: dsnoop slave definition fails on startup Date: Mon, 12 Feb 2007 12:45:36 +0100 Message-ID: References: <75b66ecd0702091903u68000c96mbf1c1ae60a8ea8c8@mail.gmail.com> <1171280044.15536.1174147113@webmail.messagingengine.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: In-Reply-To: <1171280044.15536.1174147113@webmail.messagingengine.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Clemens Ladisch Cc: Lee Revell , alsa-devel@lists.sourceforge.net, "S. Petty" List-Id: alsa-devel@alsa-project.org At Mon, 12 Feb 2007 12:34:04 +0100, Clemens Ladisch wrote: > > Takashi Iwai wrote: > > Lee Revell wrote: > > > On 2/6/07, Takashi Iwai wrote: > > > > Add the following line in the slave block > > > > > > > > format S32_LE > > > > > > > > Currently, the default format of direct plugins is S16, and most of > > > > ice1712 boards support only 32bit format. > > > > > > Takashi-san, > > > > > > This raises an interesting question - how can AC3 passthrough work on > > > these devices? mplayer and other apps fail because they can't set > > > S16_LE. > > > > It works simply by wrapping with plug (or linear) layer. > > I thought mplayer already puts that... > > Only when it's playing floating point samples. I'll change that. Hm, I thought it doesn't matter whether it's float or not, since only upper 16bit is referred in 32bit frames. (I remember AC3-passthru worked well with my ice1712 boards.) > > I myself think it's incer to add a format conversion as default in the > > iec958 PCM definition although other may think differently. > > Not having such a conversion means that applications have to remember > that they might have to put a "plug:" in front when they want to do > things like AC-3 or 5.1 output. Right. IIRC, the couter argument against the defalut plug is that we provide "iec958" PCM as a kind of raw device. This means, OTOH, that the apps get more burden. (Also, one another reason is that there is a known bug in alsa-lib that plug over plug (more exactly route over router) doesn't work well...) IMO, the design of alsa-lib subsystems are often too lowlevel. It's an interesting experiment, but a bad choice in the end in most cases. At least, "easy-to-do" setups have to be provided at the same time even if we offer primally lowlevel and raw interfaces. Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642