Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Guido Bakker <guido.bakker@sogeti.nl>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: terratec dmx xfire 1024 ac3
Date: Thu, 16 Jan 2003 11:19:40 +0100	[thread overview]
Message-ID: <s5hn0m12y83.wl@alsa2.suse.de> (raw)
In-Reply-To: <200301161055.37169.guido.bakker@sogeti.nl>

At Thu, 16 Jan 2003 10:55:37 +0100,
Guido Bakker wrote:
> 
> > > > > i'm trying to use the optical out of my terratec dmx xfire 1024 with
> > > > > an ac3 stream.
> > > > >
> > > > > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> > > > > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> > > > > ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > > > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958,
> > > > > value: cards.pcm.iec958)
> > > > > snd_pcm_open: Invalid argument
> > > > > Output open failed
> > > > >
> > > > > i'm getting this error, any ideas?
> > > > >
> > > > > i'm running alsa rc6.
> > > >
> > > > try the cvs version.
> > > > should have been already fixed.
> > >
> > > I'm now stuck to 2ch ac3 only.
> > >
> > > Forced audio codec: hwac3
> > > Opening audio decoder: [hwac3] AC3 pass-through SP/DIF
> > > No accelerated IMDCT transform found
> > > AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 56000->192000 (448.0 kbit)
> > > Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
> > >
> > > alsa-init: testing and bugreports are welcome.
> > > alsa-init: requested format: 48000 Hz, 2 channels, AC3
> > > alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
> > > alsa9: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little
> > > Endian
> > > AO: [alsa9] 48000Hz 2ch AC3
> > > Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
> > > [format] Sample format big endian AC3  not yet supported
> >
> >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > i guess the file is corrupt or you forgot byte-swapping.
> 
> When i use the same file on a sb live 1024, it works fine.

what about running ac3dec without -C option (i.e. analog two
channels)?  it must work correctly regardless of spdif support.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en

  reply	other threads:[~2003-01-16 10:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15  8:04 terratec dmx xfire 1024 ac3 Guido Bakker
2003-01-15  9:08 ` Takashi Iwai
2003-01-15 10:23   ` Guido Bakker
2003-01-16  9:54     ` Takashi Iwai
2003-01-16  9:55       ` Guido Bakker
2003-01-16 10:19         ` Takashi Iwai [this message]
2003-01-20  6:19           ` Guido Bakker

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=s5hn0m12y83.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=guido.bakker@sogeti.nl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox