All,

Found the problem, so I thought I would post.

Although it is rarely mentioned in Digital Sound HowTos, the IEC958 (aka SPDIF) 
interface has field that indicates whether its sending 'audio' or not.  This 
field can be set by a parameter called AES0 or a tool called iecset.

My SPDIF was working, and I could hear audio in 2 channels, but when you use 
passthrough dolby digital it needs the audio bit *unset* -- and neither Xine or 
Mplayer was doing this automatically.  I made a little script that solved the 
problem, that looked like this:

#/bin/sh
iecset audio 0
xine <parameters>
iecset audio 1

...This disables the audio bit before xine plays (using passthrough) then 
enables it back again so MP3s and standard digital PCM can play when Xine is 
done.  Now everything works great. :)

Regards,

--

Joe



      

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to