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