Asrock ION 330 - output sound on hdmi and spdif
#1
I have tried for some time now to get my Asrock ION 330 with XBMC Live to play output sound on both hdmi and spdif, but have not found any workaround for this yet..
Anybody know if this is possible?

I have no problem getting sound on hdmi or spdif, but not on both at the same time..
Reply
#2
Not sure, think it is a alsa issue. try googling for it.
Reply
#3
After hours of playing around with ALSA config, I'm close to a solution that works now.. :-)
First I upgraded the ALSA drivers to the latest (1.0.20), then i created a /etc/asound.conf file with the following configuration:

Code:
pcm.both {
        type route
        slave {
                pcm multi
                channels 4
        }
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.0.2 1.0
        ttable.1.3 1.0
}

pcm.multi {
        type multi
        slaves.a {
                pcm "tv"
                channels 2
        }
        slaves.b {
                pcm "receiver"
                channels 2
        }
        bindings.0.slave a
        bindings.0.channel 0
        bindings.1.slave a
        bindings.1.channel 1
        bindings.2.slave b
        bindings.2.channel 0
        bindings.3.slave b
        bindings.3.channel 1
}

pcm.tv {
        type hw
        card 0
        device 3
        channels 2
}

pcm.receiver {
        type hw
        card 0
        device 1
        channels 2
}

Config i XBMC:

Audio Out: Digital
Dolby D. (AC3): True
DTS: True
Audio output: plug:both
Passthrough: iec958
Downmix: False

It seams to work with the different files I have tested it with...
Reply
#4
Thank you!
I made a small change to get navigation sound on HDMI as well.

I also had to disable dolby digital to get e.g. killa.sample to play on TV.

Do you have any problem with echo? There seem to be a channel delay between the HDMI and SPDIF.

Haggy, Do you have any input on below config? Is there any alias I should use instead of
"iec958"?

I will upgrade ALSA and I will see if there is an update for the TV (Update TV from USB...I am getting old)

=============================
pcm.!default {
type plug
slave {
pcm "both"
}
}

pcm.both {
type route
slave {
pcm multi
channels 4
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}

pcm.multi {
type multi
slaves.a {
pcm "tv"
channels 2
}
slaves.b {
pcm "receiver"
channels 2
}
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}

pcm.tv {
type hw
card 0
device 3
channels 2
}

pcm.receiver {
type hw
card 0
device 1
channels 2
}


Audio Out: Digital
Dolby D. (AC3): True
DTS: True
Audio output: plug:both
Passthrough: iec958
Reply
#5
I thought the best solution would be to create different .asoundrc files for TV & Receiver...I don't need sound on TV when using the stereo. I could hook up a switch with irexec.

Problem is that XBMC does not reload .asoundrc even if I restart ALSA.

Is it possible to force a reload of .asoundrc?

It could be useful after resume as well.
I have noticed that xbmc "forgets" the .asoundrc after suspend /resume.
(no nav sound on HDMI after resume on ION 330)
Reply
#6
HI all,

Does anybody know even if the Nvidia MCP79 High Definition Audio supports setting "MIC in" and "LINE in" input lines to output and drive an analog 5.1 amplifier (like Genius wood)

Regards> Ivan
Reply

Logout Mark Read Team Forum Stats Members Help
Asrock ION 330 - output sound on hdmi and spdif0