Jus t upgraded my soundcard to a Chaintech AV-710. What i like about this card is the digital output,It’s way cooler to connect to my A/V receiver via TOSlink. I now can listen to my favorite internet radio through my receiver,Awesome!
Well,I had to search the net for a decent .asoundrc and I found one that works but It only allows me to connect through digital but not the analog. I want the analog to work coz my pc is in my bedroom and my A/V receiver is in the living room and I want the small speakers in my bedroom to function also.
So I did a little research and I did a little hack to my asoundrc .
Here is the original asoundrc.
I also added this to enable digital passthrough. You’ll need this if you want to watch DVDs and you want to hear Dolby/DTS surround sound. Just paste this to the original asoundrc.
I also made some some small tweaks to the asoundrc to allow me to switch outputs from digital to analog.
So this is the final asoundrc.
# increased buffer_size because in my system 1024 cause bad
# audio performance (for totem media player and mplayer)
I just change dmix settings to device 0 instead of 1. So now what i do when I want to listen through my Onkyo 504 A/V receiver is this:
mplayer -ao alsa:device=iec958 *mp3
And If want digital surround Dolby or DTS :
mplayer -ao alsa:device=iec958 -ac hwac3 dvd://
Hope this Helps!