Posted on Leave a comment

Awesome sound with ChainTech AV-710

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.

pcm.!iec958 {
type plug
slave.pcm “hw:0,1”

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.

pcm.!default {
type plug
slave.pcm “dmixer”

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm “hw:0,0”
format S32_LE
period_time 0
period_size 1024

# increased buffer_size because in my system 1024 cause bad
# audio performance (for totem media player and mplayer)
buffer_size 8096

rate 44100
bindings {
0 0
1 1

ctl.dmixer {
type hw
card 0
device 0

pcm.!iec958 {
type plug
slave.pcm “hw:0,1”

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!