Dominique Dumont wrote:
James Courtier-Dutton <[EMAIL PROTECTED]> writes:


For basic Stereo PCM over SPDIF, you should get sound out.


Yes. It works. Weird thing is that I cannot mute it with muting IEC958
control...

The only switch that might do anything is: "IEC958 Output Switch".



So, can you report to me what outputs currently work.
1) PCM over SPDIF ?

Yes

2) AC3 over SPDIF

No. But your forgot the 3rd option...

3) DTS over SPDIF

Yes (Weird Uh ?)


Once we get both PCM and AC3 working, DTS will just work.


How about the other way around ? ;-)
No, for technical reasons.


I can also patch kernel or alsa code to test here.

Cheers



Download this test file:

ftp://ftp1.mplayerhq.hu/MPlayer/samples/A-codecs/AC3-samples/a52dec-streams/ac3test/stream

Then play it in xine.  http://xinehq.de.

Before starting xine, edit the .xine/config and check for the following lines:

#audio.alsa_a52_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

audio.alsa_front_device:iec958:AES0=0x4,AES1=0x82,AES2=0x0,AES3=0x2

Try playing it in "2 channel mode" first, for PCM output.
Then enable passthru mode in xine, and play it again.

With audio.alsa_front_device set to that, it will force PCM sound to follow the correct route through the sound card to the SPDIF output.

If the normal PCM stereo mode works, but the AC3 mode does not, there is a problem with your alsa driver.

If PCM stereo mode does not work, then your sound card does not support SPDIF output in a way we can deal with, and AC3 and DTS will never work with your card.

Cheers
James


------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to