From: Takashi Iwai Subject: Re: PS3 - Surround sound on SPDIF set-up Date: Wed, 04 Jul 2007 10:11:08 +0200 Message-ID: References: <4689B1BF.2050709@gmail.com> <468A9A7A.7020802@gmail.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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 19980103877 for ; Wed, 4 Jul 2007 10:11:09 +0200 (CEST) In-Reply-To: <468A9A7A.7020802@gmail.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: GT Bradley Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 03 Jul 2007 11:50:34 -0700, GT Bradley wrote: > > yes, > I am aware that AC3 is required, I'm trying to get the AC3 > pass-through configured. From your response, I understand now that > speaker-test is performing as expected, however I have tired other > things also: > I have some AC3 encoded test files, and I have also tried installing > ffmpeg, and liba52. and the ac3dec utility which I understand should > pass through the AC3/DTS encoded files, but I recieve: > > [root@ps3 Surround-SDL-testfiles]# ac3dec -C dolby-canyon.ogg > Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}' > ALSA lib conf.c:3939:(snd_config_expand) Unknown parameters {AES0 0x2 > AES1 0x82 AES2 0x0 AES3 0x2} > ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x2 > AES1 0x82 AES2 0x0 AES3 0x2} > snd_pcm_open: Invalid argument > Output open failed > > However if I am planning to write ac3 to the linux driver, are you > saying that I would be better to write directly to the driver rather > than through the ALSA layer? You need set up the configuration for alsa-lib. Otherwise the iec958 PCM isn't defined. Usually the card-specific configuration is stored in /usr/share/alsa/cards/*.conf. Takashi