At Thu, 29 Jan 2009 18:27:09 -0500, James wrote: > > Clemens Ladisch wrote: > > James wrote: > > > >> $ speaker-test -D iec958 -c 6 > >> ... > >> Channels count (6) not available for playbacks: Invalid argument > >> > > > > S/PDIF does not support uncompressed surround sound; you have to play > > stereo data (use "-c 2") or AC-3/DTS-compressed data. > > > > > > Best regards, > > Clemens > > > Speaker-test used to output to all my speakers. > -c 2 DOES output to my left and right front speakers but I can't get > anything out of the others in my 5.1 SPDIF supports basically only 2-channel PCM. 5.1 is implemented in a compress format such as AC3 or DTS, which is transmitted as if a two-channel PCM stream, and the receiver expands the compressed stream again to 5.1. > $ aplay -D iec958 -c 2 /storage/music/goodbye3.wav > Playing WAVE '/storage/music/goodbye3.wav' : Signed 16 bit Little > Endian, Rate 22050 Hz, Mono > aplay: set_params:966: Channels count non available It's because you're trying to play a mono sample on a 2-ch stereo device without the conversion plugin. Wrap with "plug:", e.g. aplay -D plug:iec958 -c 2 /storage/music/goodbye3.wav (But, this doesn't mean that it'll be converted to 5.1 compressed format, though.) Takashi ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user