Re: [Alsa-user] broken digital sound again

2009-02-02 Thread Takashi Iwai
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] broken digital sound again

2009-01-30 Thread James
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

 $ 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

Grrr, Amarok just randomly started working.
Still no KDE system sounds but I care more about digital Amarok.

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] broken digital sound again

2009-01-29 Thread James
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

$ 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

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] broken digital sound again

2009-01-28 Thread Clemens Ladisch
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

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user