[alsa-devel] How to test new SDPIF implementation?

Jon Smirl jonsmirl at gmail.com
Sun May 10 21:13:18 CEST 2009

I would like to test my SPDIF driver implementation. How can I used
command line tools to play sample 5.1 music over SPDIF?

I have a file 5.1 AC3 encoded file -- w.ac3

This doesn't work:

iecset -D hw:0 audio off
aplay -c 2 -r 48000 -f S16_BE -D hw:0,1 w.ac3

I can play uncompressed music on SDPIF without problem. I know my
audio system will play the compressed music, I can use A52 from my

Jon Smirl
jonsmirl at gmail.com

More information about the Alsa-devel mailing list