sorry, but i'm still stuck. mplayer doesn't work w/ -ao alsa9
aplay works w/ -D hw:0,0 and hw:0,2 > the IEC958 control is assigned to device 0. > well, it's not nice to have such an incosistency. > but usually it's no problem because the difference is absobed in the > alsa-lib's configuration if the application simply opens the device > via "spdif" pcm (as xine or mplayer does). playback via mplayer doesn't seem to be working (well, it works via the oss-emulation) but when i run: [EMAIL PROTECTED] root]# mplayer -ao alsa9:spdif /var/lib/mythmusic/All/Pink/Missundaztood/01\ -\ Missundaztood.ogg MPlayer 1.0pre2-3.2.2 (C) 2000-2003 MPlayer Team <snip> Playing /var/lib/mythmusic/All/Pink/Missundaztood/01 - Missundaztood.ogg OGG file format detected. ========================================================================== Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 62477->176400 (499.8 kbit) Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder) ========================================================================== Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian) alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian) alsa-init: soundcard set to spdif alsa-init: unable to set periodsize: Invalid argument Could not open/initialize audio device -> no sound. Audio: no sound Video: no video here is most of my setup: [EMAIL PROTECTED] root]# cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.0pre1. Compiled on Nov 21 2003 for kernel 2.4.20-20_29.rh9.at with versioned symbols. [EMAIL PROTECTED] root]# cat /proc/asound/cards 0 [CS46xx ]: CS46xx - Sound Fusion CS46xx Sound Fusion CS46xx at 0xe1100000/0xe1000000, irq 12 [EMAIL PROTECTED] asound]# cat /proc/asound/devices 0: [0- 0]: ctl 8: [0- 0]: raw midi 19: [0- 3]: digital audio playback 18: [0- 2]: digital audio playback 17: [0- 1]: digital audio playback 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 33: : timer [EMAIL PROTECTED] asound]# cat /proc/asound/pcm 00-00: CS46xx : CS46xx : playback 31 : capture 1 00-01: CS46xx - Rear : CS46xx - Rear : playback 31 00-02: CS46xx - IEC958 : CS46xx - IEC958 : playback 1 00-03: CS46xx - Center LFE : CS46xx - Center LFE : playback 31 [EMAIL PROTECTED] asound]# cat /proc/asound/card0/codec97#0/ac97#0-0 0-0/0: Cirrus Logic CS4294 rev 5 Capabilities : -headphone out- DAC resolution : 20-bit ADC resolution : 18-bit 3D enhancement : Crystal Semi 3D Stereo Enhancement Current setup Mic gain : +0dB [+0dB] POP path : pre 3D Sim. stereo : off 3D enhancement : off Loudness : off Mono output : MIX Mic select : Mic1 ADC/DAC loopback : off Extended modem ID: codec=0 HSET LIN1 Modem status : GPIO MREF ADC1 DAC1 HADC HDAC Line1 rate : 48000Hz Headset rate : 48000Hz [EMAIL PROTECTED] asound]# iecset Mode: consumer Data: audio Rate: 44100 Hz Copyright: protected Emphasis: none Category: general Original: 1st generation Clock: 1000 ppm [EMAIL PROTECTED] asound]# cat /proc/asound/card0/pcm2p/sub0/info card: 0 device: 2 subdevice: 0 stream: PLAYBACK id: CS46xx - IEC958 name: CS46xx - IEC958 subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user