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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel