View Single Post
Old 06-10-06, 02:31 PM   #1
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default How can I get SPDIF with ALSA?

Hi,

I've been searching and searching so many places. I found a lot of solutions, but none of them works for me. Well, here's my problem.

I have a Asus A8N-SLI motherboard (nForce4 chipset). I'm using the onboard soundcard. I'm not using the nForce drivers from NVidia, since they're OSS only. I'm running Ubuntu-5.10 with the stock alsa-drivers. Everything is fine except SPDIF - I can't make it work! I've connected my receiver with the coax output on my soundcard using a coax-cable. The sound works fine in Windows XP.

I don't have a .asoundrc file. I've checked the IEC958 settings in alsamixer, plus I've tried muting them, turning them all the way up, all the way down. If I play a song in eg. mplayer with:

Code:
mplayer test.mp3
the song is played in my monitor-speakers (my normal speakers). If I try:

Code:
mplayer -ao alsa:device=spdif test.mp3
I get no sound in my normal speakers, but also no sound is send to my receiver! Mplayer, however, plays the song without any errors (I just can't hear it).

What could be the problem? Any ideas?

If I can make the SPDIF work, is there then a way to get all sounds send to both the normal speakers AND the SPDIF?

Anders
andefeldt is offline   Reply With Quote