On Thu, 02.07.09 22:24, Stephan Seitz (stse+pulse at fsing.rootsland.net) wrote: > On Thu, Jul 02, 2009 at 06:58:35PM +0200, Stephan Seitz wrote: >> Well, you are right, it seems then to be an ALSA bug. >> The M-Audio is the second sound device. ?aplay -D hw:1,1 test.wav? >> works, ?aplay -D hw:1,0 test.wav? and ?aplay -D spdif:1 test.wav? >> don?t work, probably spdif:1 points to hw:1,0. > > Hm, but if I understand linux/Documentation/sound/alsa/Audiophile-Usb.txt > correctly, this is correct. hw:1,0 is for digital in, hw:1,1 is for > digital out. > > I am not sure anymore where the bug is. In this case I think pulseaudio > should distinguish between digital out and digital in. Alsa seems to > connect spdif to digital in and is missing one for digital out. PulseAudio only opens "spdif:1" in your case, the same for output as it would for input. If that doesn't connect you to the right device of your card, then please ask the ALSA folks for help. While I grok the alsa config format a bit, nI don't know it comprehensibly and wouldn't know how to fix the definition of spdif:xxx to map to one device for a card for input and to another for output. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4