Kodi Community Forum

Full Version: ASRock ION 330 Audio Configuration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I hopelessly need a proper audio configuration for my system which is:

ASRock Ion 330
XBMC 11

The PC is connected to TV via HDMI and to amplifier via optical spdif cable.

What I want is to have sound coming from the TV and amplifier simultaneously, with DTS and Dolby Digital enabled. As these sound formats are not supported by the TV, I just want to hear 2-speaker sound from the TV set.

If possible, I would also like to have crossfading enabled when I play music.

I have tried countless .asoundrc files and read numerous websites, blogs and forums, but without result.

Can you please provide me with the .asoundrc file and also the configuration in XBMC audio settings?

Best regards,
Nikos
Update: I get sound from both sources using the following configuration:

Audio: Optical
Dolby Digital: Off
DTS: Off
Audio output: Set to Custom (value = plug:default)
Passthrough: HDMI (alsa)

Is there a way to have DD and DTS enabled?

Oh, and crossfading does not work as well.

.asoundrc file I used:

pcm.!default {
type plug
slave {
pcm "both_digital"
}
}

pcm.both_digital {
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
}

# Toslink digital_1 output
pcm.digital_1 {
type hw
card 0
device 1
channels 2
}

# HDMI digital_2 output
pcm.digital_2 {
type hw
card 0
device 3
channels 2
}

pcm.multi {
type multi
slaves.a {
pcm "digital_1"
channels 2
}

slaves.b {
pcm "digital_2"
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
}
I made it!!! Actually I found the correct setting...

I used the dmix_both setting from here: http://www.xbmcfreak.nl/en/alsa-asoundrc-examples/

XBMC audio settings: DD and DTS : enabled, audio: Custom: plug:both, also same setting for passthrough

Good luck with your systems