Yes, I can also do this with aplay and arecord,
however, i was having a
few overuns with arecord and so decided to try ecasound instead. My
problem is that I don't know how the "-D spdif" or "-D
plug:spdif"
translates to ecasound flags.
-i alsa,spdif
for input, if spdif is defined in your .asoundrc
Tommi Uimonen