Lee Revell <[EMAIL PROTECTED]> writes: > On Thu, 2006-03-02 at 00:09 +0100, David Kastrup wrote: >> Lee Revell <[EMAIL PROTECTED]> writes: >> >> > On Wed, 2006-03-01 at 22:32 +0100, David Kastrup wrote: >> >> What happens now if I do >> >> aplay -D spdif something.wav >> >> ? Most certainly not the soundcard with the S/PDIF output gets used. >> >> Instead some nonsense happens. >> >> >> > >> > It will try to play to the spdif interface on card 0 (the onboard one) >> > which will fail. >> > >> > aplay -D spdif:1 something.wav should DTRT. >> >> aplay -D spdif:1 -f cdr /tmp/mnt/wo1.dat >> ALSA lib confmisc.c:990:(snd_func_refer) Unable to find definition >> 'cards.USB-Audio.pcm.iec958.0:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2' >> ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned >> error: No such file or directory >> ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such file or >> directory >> ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM spdif:1 >> aplay: main:533: audio open error: No such file or directory > > I think this is just a bug. Can you repost this report to alsa-user > at lists.sourceforge.net or report it in the ALSA bug tracker?
I can't report something as a bug as long as I have no clue whatsoever what the appropriate syntax and expected behavior could be. There certainly is nothing in the documentation saying that "-D spdif:1" could be expected to do anything sensible. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum
