From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ymfpci, big-endian, and spdif out Date: Fri, 10 Jan 2003 12:57:11 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030108053721.GC10119@kalmia.hozed.org> <20030110065545.GC393@kalmia.hozed.org> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20030110065545.GC393@kalmia.hozed.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Troy Benjegerdes Cc: Jaroslav Kysela , "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org At Fri, 10 Jan 2003 00:55:45 -0600, Troy Benjegerdes wrote: > > > > > > On Tue, Jan 07, 2003 at 05:02:53PM +0100, Takashi Iwai wrote: > > > > At Thu, 2 Jan 2003 22:22:34 -0600, > > > > Troy Benjegerdes wrote: > > > > > > > > > > I have a mac G4 (running debian testing), a ymfpci card (MaxiSound > > > > > Fortissimo) with optical TOSlink out, and a yamaha HTR-5540 receiver with > > > > > There were a few bad assumtions in the spdif code. Could you try the > > latest CVS code of ac3dec (or attached patch)? > > Okay, I've dumped some printk's in core/pcm_memory.c, and found that the > following error: > > hozer@narn ac3dec$ ./ac3dec -C ~/testac3/THX.ac3 > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2' > ALSA lib pcm_hw.c:297:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS > failed: Cannot allocate memory > PCM hw_params failed: Cannot allocate memory > Output open failed > > results in alsa-kernel/core/pcm_memory.c:alloc_pcm_pages() getting > called with substream->dma_type= SNDRV_PCM_DMA_TYPE_UNKNOWN. oh, you found a bug :) it was introduced due to my last change to pcm pre-allocator. now fixed on cvs. thanks for your report! Takashi ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com