On Fri, Jan 03, 2003 at 10:54:44AM +0100, Jaroslav Kysela wrote: > On Thu, 2 Jan 2003, 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 > > digital optical TOSlink input. > > > > I'm trying to get xine or some other DVD player to output AC/3 sound to > > the receiver for watching dvd's, and I have a couple of problems. > > > > 1) xmms (and xine 2-channel sound) works with OSS emulation, but is static > > with native ALSA drivers. This seems like some endian problem > > > > 2) spdif out does not seem to work. Here are some of the messages from > > xine: > > > > audio_alsa_out : supported modes are 8bit mono stereo (4-channel not enabled in > > xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in > > xine config) a/52 and DTS pass-through > > > > > > audio_out: stream audio format is 48000 kHz sampling rate, 16 bits. mode is 1. > > audio_alsa_out: Audio Device name = > > iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 > > audio_alsa_out: Number of channels = 2 > > audio_alsa_out: pcm hw_params failed: No such device or ALSA lib > > pcm_hw.c:292:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: No > > such device or addressALSA lib pcm_hw.c:292:(snd_pcm_hw_hw_params) > > SNDRV_PCM_IOCTL_HW_PARAMS failed: No such device or address > > > > > > So where do I get started to fix this? > > > > Also, where can I get some short raw AC3 encoded sounds to test with > > something like aplay? > > We have command-line ac3dec in our alsa-tools package. > > Jaroslav
So what is the simplest command line options and .asoundrc config file setup I should try to verify if SPDIF AC/3 output works? I also need to get a short AC3 encoded sound file somewhere.. are there some directions or a FAQ on how to extract an AC3 sound file from a DVD? -- Troy Benjegerdes | master of mispeeling | 'da hozer' | [EMAIL PROTECTED] -----"If this message isn't misspelled, I didn't write it" -- Me ----- "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Schulz ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel