All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Troy Benjegerdes <hozer@hozed.org>
Cc: Jaroslav Kysela <perex@suse.cz>,
	"alsa-devel@lists.sourceforge.net"
	<alsa-devel@lists.sourceforge.net>
Subject: Re: ymfpci, big-endian, and spdif out
Date: Fri, 10 Jan 2003 12:57:11 +0100	[thread overview]
Message-ID: <s5hvg0x6wvc.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030110065545.GC393@kalmia.hozed.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

  reply	other threads:[~2003-01-10 11:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03  4:22 ymfpci, big-endian, and spdif out Troy Benjegerdes
2003-01-03  9:54 ` Jaroslav Kysela
2003-01-04 18:44   ` Troy Benjegerdes
2003-01-05 14:31     ` Jaroslav Kysela
2003-01-04 23:58   ` Troy Benjegerdes
2003-01-05 14:30     ` Jaroslav Kysela
2003-01-07 16:02 ` Takashi Iwai
2003-01-08  5:37   ` Troy Benjegerdes
2003-01-08 11:30     ` Jaroslav Kysela
2003-01-10  6:55       ` Troy Benjegerdes
2003-01-10 11:57         ` Takashi Iwai [this message]
2003-01-11  1:48           ` Troy Benjegerdes
2003-01-11  9:53             ` Jaroslav Kysela
2003-01-11 18:48               ` Troy Benjegerdes
2003-01-11 20:10             ` Troy Benjegerdes
2003-01-12  9:46               ` Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hvg0x6wvc.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=hozer@hozed.org \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.