After a lot of tries I have mange to get working AC3 out on my TOS link (optical SPDIF) with mplayer.
The command used for player is:
mplayer -ao alsa:device=hw=0,2 -ac hwac3 dvd:// (my optical output is device 2 on card 0)
LinuxMCE (MD) is silent when playing video. playing mp3 (from media->audio) works.
By changing my asound.conf file to this :
pcm.!default {
type hw
card 0
device 2
}
ctl.!default {
type hw
card 0
device 2
}
Even aplay uses the optical output.
Running the avwizard, I can hear the regular stereo signal, but fail to hear DTS or AC3 sounds (and answer no to those questions)
I am unable to change the volum, but that is ok - I can easily change volum on my amp.
How can I configure xine on the MD to use the alsa:hw2 port in passthrough mode ?
I have noticed that linuxMC overwrites my asound.conf file. How can I prevent this once I've got a working on ?