On Wed, 2009-11-25 at 17:01 +0100, Clemens Ladisch wrote: > Krzysztof Adamski wrote: > >> The device name would not be "digital" but "iec958" or "spdif". > > > > With iec958 or spdif I get: > > [AO_ALSA] Format ac3 is not supported by hardware, trying default. > > Oops, try "plug:spdif" instead. With mplayer's escaping rules, that > would be "-ao alsa:device=plug=spdif". This works: Forced audio codec: hwdts Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF No accelerated IMDCT transform found hwac3: switched to DTS, 1536000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000) Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF) ========================================================================== [AO_ALSA] alsa-lib: conf.c:3843:(parse_args) Unknown parameter AES0 [AO_ALSA] alsa-lib: conf.c:3969:(snd_config_expand) Parse arguments error: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM plug:spdif,AES0=6 AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample) but you can see the errors, if I add the spdif as a default to the .asoundrc file like this: pcm.!default plug:spdif I get this from mplayer: Forced audio codec: hwdts Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF No accelerated IMDCT transform found hwac3: switched to DTS, 1536000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000) Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF) ========================================================================== [AO_ALSA] Format ac3 is not supported by hardware, trying default. [AO_ALSA] Unable to set format: Invalid argument Failed to initialize audio driver 'alsa' [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le... AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) [format] Sample format big-endian AC3 not yet supported [libaf] Reinitialization did not work, audio filter 'format' returned error code -2 Couldn't find matching filter/ao format! My main aim is to get mythtv spdif pass-through to work, with the "Unknown parameter AES0" error mythtv does not work. Basically I have to modify the driver to accept this card as one of the known cards, I just don't know how. K ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user